You think it's that simple?
What about territorial water, UNCLOS, uneven depth of water at the Strait of Hormuz?
US and Israel attacked Iran, Iran responded, waging asymmetric war, and realising they had an Ace card in blockading SoH. Trump decided he wanted a joint venture with Iran, charging tolls (when passage was 100% free before the War). Iran said no, but free passage for friendly nations. Trump not happy that he couldn't add toll money to stolen Venezuelan money in his Qatari bank account.
Trump then decided to blockade Iran's blockade but some ships were still getting through, so Trump turned pirate and captured a vessel or two, declaring all the oil was his (during the ceasefire mind). Trump then turned humanitarian and decided that even though the US had already won the war, decimated the Iranian navy, army and obiterated their nuclear capability, he wanted their nuclear dust (because he didn't know how to find an off ramp for the bloody mess he had caused).
So he decided to unblock the blockade of the blockade he had caused, by using the bigly might of the US Navy. They would 'escort' vessels through the Strait, or maybe just advise ships on safe waters to traverse. Iran said, if you do that you will be in direct violation of the ceasefire. Trump then decided to play chicken in the Gulf, and did not respond to Iranian warnings to stop. Gun play ensues.
Then Iran goes back to asymetric warfare by attacking UAE, Trump's cheerleader. So we had Schrodinger's War, Strait, blockade and ceasefire.
Thank you, I'll take my prize in oil shares.