Iran effectively closed the Strait of Hormuz during the war with U.S. and Israel, creating an oil supply crunch and sending global energy prices soaring.