Modern day piracy.
"Israel seizes Gaza aid ships in international waters" - https://www.reuters.com/world/middle-east/israel-begins-inte...
If that happens, a lot of countries will give very serious thought to attacking each other, not just in the middle east, and may decide they don't have a choice.
So the Strait has no clear legal status.
In theory since Iran didn't ratify UNCLOS they can only claim 3nm of territorial water, but they claim 12nm anyhow.
The USA insists on the right of transit passage, but itself isn't even a signatory to UNCLOS so that's hypocritical and has no basis.
It's a mess that nobody wants to touch, so it's pretty much up for grabs by the most militant player.
https://en.wikipedia.org/wiki/Strait_of_Hormuz#/media/File:S...
It's not international waters.
> if Iran is allowed to do this
They have sovereignty and they only ever mentioned doing this to pay for reparations after being attacked by two countries that have been allowed to routinely attack/exploit the Middle East and, in the case of one, carry out genocide.
As an aside, the war is largely seen as being waged for the sake of Israel, against US/world interests.
> Indonesia will tax the Malacca strait... a lot of countries... attacking each other
Pure fearmongering, in no way different from "think of the children and of the terrorists".
Iran maintains a blockade on the strait by placing mines in Omani waters, and firing missiles at civilian ships that attempt to pass in Omani waters. It has no legal basis to do either of those.
Americans and the west need to set aside the Disney and Netflix propaganda we are drowned in and recognize that when we fight, we need to go all in including troops on the ground.