yeah, I get your point - technically Iran closed the strait, not the US. But that's equally disingenuous. The closing of the strait was the result of a chain of events (a short chain at that) which originated with the US bombing Iran.
In your analogy, the crims performed the burglary. That lead to the police arriving. That lead to the police closing the street. You can argue that the crims "didn't close the street", and sure, they didn't. But the street is closed purely as a result of their actions.