The American perspective is, we are F'ed. Unless the new guy in Iran caves, we are going to be forced into another Middle Eastern ground war, and that's the US perspective.
Think about it like this, even if Trump said "we had enough, and we are going home," stop all attacks, did nothing, washing his hands over this, what do you think will happen?
What will happen is that he made Iran know, from now on, anytime the US or Israel stop Iranian interest, they can just use the "scarface" strategy and say "It would be ashame if one of those ship got attacked" they don't need to physically attack them, they don't even need a solid plan that any attack would be successful, that alone will stop shipping from transiting. And if you are the US, what would you think when Iran said we are going to restart the nuclear program sometime down the road? Well, you bomb them again, and they do this again, and certainly at one stage, it may not be the next time, or the time after next time, that you realise as long as Iran was there, the strait is ALWASY going to be open to attack, which mean the only option is a ground operation, then you say to yourself, why not do it now when we had already taken out 85% of Iranian defence?