Would you say the same for Ukrainians fighting Russian forces on their land?
No, because driving a ship somewhere to protect a trading route or build a port is not an invasion. The ships will go away, once the mission is over, but russia wants to stay forever in Ukraine and make it part of russia.
The blockade is on Israeli ships and ships going to ports in Occupied Palestine. It is a response to the genocide in Gaza and therefore justified. The Yemeni forces made it clear they will stop when the genocide and blockade on Gaza stops.
Ships going to Israel bringing food and products are legitimate targets, so are Israeli ships, Palestinians in Gaza can’t even get food, why should genocidal settlers? What the Yemenis are doing is in accordance with international law and every country should do what it can to stop a genocide.
What Yemen has done was successful in bankrupting an Israeli port in Occupied Palestine and causing inflation in the Zionist colony.
Because of US and UK violence, the blockade was expanded to include US and UK ships as well. Totally justified.
The Yemenis have every right to refuse passage to ships associated with genocidal maniacs and their enablers.