There is no such thing as "officially closed". The moment people start shooting there, driving a ship across becomes dangerous. This was an absolutely predictable consequence of the attacks on Iran, you didn't need to wait until several tankers were burning to know these attacks were likely to happen and the strait would become essentially too risky to pass.
Back then there were only two ships attacked in the straits, and one was an Iranian shadow fleet ship. I am not sure that is "closing the straits" in any shape or form