Validating attacking random merchant ships as an effective political tactic is not a good idea, actually. This will just lead to Iran attacking ships every time it wants something.
Israel should scale down operations in Gaza, yes. Houthi military positions that are launching these attacks should also be obliterated to make it very clear that is is not an acceptable tactic.