We could see that Iran is all-in at this point. IF this gets to happen, it won't be free or without hard consequences, I believe. There's so much to lose for everybody in this war. The bully Trump should take another approach, or none at all, and retire while possible.
People say that Trump should TACO but at this point it's basically lighting the Gulf States' relationship with the US on fire. At a minimum, they will have to massively hike their own defense expenditures and likely reorient money earmarked for investments in the US to do that.
Looking at map it seems very tall ask. You need to hold on to few hundred kilometres of coast. In hostile country which will do best to thwart your effort. And anything in the strait and around it... Might as well go for regime change at that point...
Given that China is shipping missile components and fuel ingredients to Iran via the strait, and since Iran is threatening global shipping traffic there, taking it over makes sense. Even if the optics of the wider war are bad.