The rally has a lot to do with the AI story and investors recognizing that big US companies are making serious profits despite the war. The closing of Hormuz is not affecting the money investors are making. Year-to-date performance is all about Korea, Taiwan, Japan - that's where global investors are pulling money for excess returns. The S&P is only up 6% year-to-date.
There is already rotation going on to smaller and medium-sized companies in the US. The big story in global equities is happening outside the US, particularly in Asia, with companies like Samsung and TSMC becoming trillion-dollar companies challenging the Mag 7. The investment picture is changing, with investors moving more to the Far East.