Trump said the Strait of Hormuz, a key shipping route for global oil and gas that Iran had effectively closed for months, would reopen.