How Trump went from opposing Israel's strikes on Iran to reluctant support
Israel was going to do it anyway, despite the US saying it wouldn't help them. And they would too. The US doesn't have as much influence as people think. Even if Trump threatened to revoke all military and other aid, they would still do it. Because they are Israel.
Yes, Trump managed to convince Israel not to assassinate Iran’s supreme leader, but only because they sought his approval.
Trump was able to put his foot down where he could. You might say he didn't do enough, but Trump's a negotiator not a tough guy. We don't know that being a tough guy would have helped the situation either. It would probably just get the US offside with Israel and make them even more determined to do whatever they wanted. By being 'friendly', Trump was able to get an important concession.
The problem with hyper-partisanship is that people can't give credit where it's due. Trump is bad in many ways, but in this case he is right to prefer diplomacy over war. To the extent that he achieves that (or even attempts it) he is doing good. Your insistence that Trump could have been tougher on Israel and therefore has 'everything to do with it' is off-base. He's not a warhawk like Biden, who steadfastly supported Israel no matter what. And he's learning, possibly enough to eventually be an
effective negotiator. He might even get credit it for it from those whose sight isn't completely blinkered.