Israel definitely wanted us to do this, but they've been trying to sell US presidents on this for decades without success. MBS and the Saudis also want this, but you rarely read about that in the news; likewise with the UAE and quite a few others who have even been running their own direct strikes on Iran.
The thing is, and I realize this is a rough climate to say this into: Jews have been the official scapegoats for the Middle East and Europe for what... 1500 years now? That doesn't just go away, and the political expediency of Trump covering his ass and the ass of his Saudi/UAE sources of billions (through Jared, Ivanka, Eric, etc) can't be thrown under the bus to do it.
Meanwhile Israel is being run by a universally loathed man who can't shut up, so it's just easier to pretend that's it all their fault.