Those iran's waters. These ships are literally passing through their country, I think you're confused with "territorial waters" as defined in UNCLOS as well but neither Iran nor the US nor pissrael ratified that treaty. Here is a good opinion on why the UNCLOS doesn't really apply https://www.simplelaw.blog/p/the-strait-of-hormuz-a-3-minute-international