The US has a straightforward option to "win" the war via a ground invasion.
First, a large scale bombing campaign, targeting Iranian infrastructure.
Dropping bombs on every power substation, fuel plant, and generation plant would cripple the economy, and grind the country to a halt. A similar strategy was applied to Japan and Germany in WWII. If these facilities have military purpose, destroying these facilities is not necessarily a war crime.
A modern economy cannot function without fuel and electricity. The economy will quickly grind to a halt, and Iran will be forced to confront internal problems before mounting a concerted response.
After 2-3 weeks of chaos, the US would launch a ground invasion, though Pakistan and Iraq. It would then remove the nuclear material, clean up Iranian missiles that target ships in the strait, and the US would leave.
It achieves the primary, secondary, and tertiary goals of the war: no more nuclear weapons, removal of nuclear material, and reopening of the strait.
Combat losses to the US would be minimal. The cost for Iran, though, is astronomically high. It would take years for the country to rebuild, and set back the nation economically for decades.
Trump is trying hard to avoid this option. Many other presidents (I'd wager Kamela) would have gone down this path by now.