Again, we don't really know all the facts on the ground, and we don't know what the breaking point is, but this is partly the U.S.'s strategy here. Seems like it is producing results because Iran is open to more negotiation as these past few weeks have passed. Why would they do this if they were walking away unscathed and winning?
On the flip side, though, I do concede that the US people have just not borne the brunt of the disaster yet. When that happens, they snap like a twig, only because they didn't support this war to begin with. Support was at a record low when the war began and continued to drop to this day.
In the end Iran's goal seems more attainable: Make this so painful for the US that they do not dare try this again for a long time if ever.
The US's goal was topple the regime, install their puppet and acquire the nuclear material. Now its just getting back to the JCPOA or something like it. Not good enough for Iran. They want to make sure this stops for good.