The U.S. president also met the leaders of Middle Eastern countries who are keen to restore shipping through the Strait of Hormuz but are wary of giving their longstanding rival Iran too much power.