Those ships are bearing goods from (or taking goods to) countries that are hosting US forces attacking them. They’re valid targets, and blockading their shipping… I mean, the US does that to countries that haven’t even helped attack us, seems insane to suggest it’s somehow a foul to do that to countries that are helping attack you.
A lot of these "neutral" countries either host US military bases, US companies, or are otherwise aligned generally with the US.