The US intelligence community long ago gamed out all the risks surrounding a conflict with Iran, including the possibility Iran would close the Straits of Hormuz.
If the Trump administration and Hegseth are surprised now, it's because they've never listened to, and sidelined, the experts.