Trump in recent days explicitly linked U.S. involvement in NATO and support to Ukraine to efforts by allies to send warships to the Strait of Hormuz.