What is this argument? Iran only started blocking after they were attacked by the US. They didn't wake up one day and decided to block the strait. If something happened due to your unprovoked action, it's your fault.
So if I punch somebody in the face and they respond by pulling out a gun and shooting an innocent bystander, I can be punished for murder?
That's not even remotely how moral responsibility works. People (and nations) are responsible for their own actions, not the actions of others.