The U.S. president has gone from declaring the war with Iran to be over soon to calling on European and Gulf allies to help.