Iran has effectively closed the Strait of Hormuz in retaliation for the war launched by the US and Israel.