The problem with historical myopia is it means you are taken by surprise when things happen that have been part of regional security calculations for years/decades.
As Arshin Adib-Moghaddam (SOAS) points out, Iran has been claiming sovereignty over the Strait of Hormuz for a long time, as well as threatening to close passage through the Strait, so no-one should have been surprised that under direct attack it would do that very thing!