Mind you, the details of war are not always clear. The US says that the ship was armed, and it also says that they did make an effort to rescue the crew. The US does not explain why it failed to actually rescue anybody, of course.
This was a sneak attack outside of an established war zone, for an illegal war, so don’t try to conflate this as an attack on America’s enemies. The USA made them their enemies themselves.
>Established in May 2017 and funded by Saudi Arabia,[1][2][3][4][5][6] it actively promotes former Crown Prince Reza Pahlavi as the next ruler of Iran.