They already are damaging ships via proxy support of Houthis.
Deterrence sometimes means applying force.
Iran won't be able to do anything if the US actually applies force to them.
And I highly doubt anyone will actually come to their defense, which is an ingredient for WW3.