WWII was an entirely different situation - the Axis powers were fighting against the rest of the world. In the current situation its almost only the US & Israel possibly going against potentially the entire region with Russia (and possibly China) sitting in the background providing Iran with military support.
Sure we can bomb Iran’s infrastructure but then they close off the Persian Gulf which is a lot easier to do than shutting of Red Sea transport. That would crash economies worldwide. Then Hezbollah shuts down Israel’s gas fields. China gets much of it’s oil from Iran:
Explainer: Iran’s expanding oil trade with top buyer China
https://www.reuters.com/markets/commodities/irans-expanding-oil-trade-with-top-buyer-china-2023-11-10/
and Russia is in cahoots with them militarily now.
From a strategic perspective both Russia & China are hoping developments here wind up with the US being chased out of the region. And with the way things are playing out there’s a good chance of that happening.
If we had a President with American interests at heart, there are clear solutions.
Hit Iranian MILITARY targets and oil processing facilities, in addition to sanctions on Iranian oil.
You don't wait for Iran to shut down the Persian Gulf, you preclude it!