The man certainly has an obsession with attention seeking. From what I remember from his campaign he informed the electorate that America was not going to start or be dragged into wars in other parts of the world.
Now Bibi and Khameini are getting all the attention. That’s hard to swallow for the president. So he wraps up and throws overboard all his, shall we say principles, to get the attention back to where it rightfully belongs, according to him.
Trump is, in fact, being consumed by the sour taste of world politics and is about to realize that even how much he wants to, there is no way of pulling America out of the world theater.