> They don't have a right to attack merchant vessels
This is a sovereign nation that is being attacked by a waning superpower. It's war and they are retaliating in really the only way that they can force America to back off - which is make the war really expensive and even more unpopular domestically.