The US / Trump key objectives were to do whatever Israel told them to do first and foremost, so that the genocide and annexation could continue.
Second, everyone knew that as soon as Iran would be attacked they'd shut down Hormuz which immediately shoots oil prices up for US companies and drives everyone who doesn't want US oil specifically towards Russia (hint: China, who buys about 90% of Iran's oil, also imports half its crude from Russia).