The Iranian ship was participating in the military exercise last month. This specific ship was nowhere near US or Israel, not even in active combat. Why would they attack it?
This is the reason why attacking military and attacking civilians are considered different. Civilians are defenseless. They do not carry weapons. Attacking a defenseless warship, where it went for a military exercise with a non-adversary country is cowardly.
Ambush is not the problem here.
Edit: (from the post link)
According to reports, the rules of the exercise stipulated that no ammunition was allowed on participating ships.
We need all this info about you so that we can serve you better.
We promise, we won't share it with anyone (except our 2000+ partner companies) or misuse it in any manner (except for shoving ads in your face or training AI).
By the way, the data is subject to the privacy regulations of the country we (or our partners) have built our servers in, so good luck trying to understand what exactly your rights are.
We may modify this terms behind your back and have no liability ever to notify you. Consider yourself lucky if you're even reading this, because you already accepted it by continuing to use our website.
The US government? There is no one person behind this. This has been their foreign policy for decades. The US administration, as an imperialist entity, is acting like this.
To answer why, I have a theory. (I apologize beforehand for any ignorance, I only know a very minimal history of US - Iran)
Government. The US has wanted to control Iran from a long time, and succeded once in 1953. When the revolution of 1979 happened, they lost their hold in Iran's goverment. They have constantly been trying to topple Khamenei's regime since then. Khamenei was getting old, and if he names a successor and they come to power, the current regime system will be cemented and more difficult to overthrow from outside. And I think the release of Epstein files has accelerated the whole process, since the connections between politicians/influential people of various countries and the US/Israel are getting revealed to the world.
Oil. After the Russio-Ukraine war started, America has been trying to stop countries from buying Russian oil and make them buy crude oil from American companies. The US needs to get hold of two things now - Oil wells (Venezuela, Arabia, Iran, I think Palestine too, I'm not sure) and trade routes. Iran has control over the Strait of Hormuz , which transports about 1/4th of world crude oil trade.
Dollar. Both Maduro and Khamenei were trying to change the currency of oil trade, that is the American dollar.(This goes back to some agreement made between USA and Saudi Arabia)
Fascists have this weird tendency to appear as if they are soldiers. Attire, manner, etc. Hitler used to do this too.