I don't agree with the people giving even grudging credit to Trump over this. Trump clearly said that there was a ceasefire, and Israel and Iran clearly disregarded him and continued their war. The fact that at a later time Israel and Iran really did agree on a ceasefire doesn't somehow ripple back through time and imbue Trump's impotent declaration with retroactive relevance. No, Trump was bullshitting, because he's a thoroughly stupid man and a habitual liar, and he almost certainly played a very limited role (at best) in the actual ceasefire.
I dunno. While I certainly agree that orange man bad, it's not like he announced a ceasefire, then the war continued for another few weeks and
then there was a ceasefire. After Trump announced the ceasefire there were some subsequent skirmishes, he yelled at them both and since then the ceasefire has held. Whether it will continue to hold remains to be seen of course. And of course like always he's massively exaggerating how effective everything he does is. But the timing is such that I don't think you can entirely detach the current ceasefire from his actions.
Don't get me wrong, this wasn't some brilliant strategic move from Trump. He operates entirely by gut feel. So if he did get this right it was more luck than judgement. But there are some tentative signs that he might have got it right.