Many situations cannot be resolved until you convince the other party that their business model or position or assumptions are wrong. Walking away is the only way to do that because it triggers escalation.
I had s sitstuiin recently where the account team couldn't get a term that we needed. We basically told them to go away and stopped 2-3 other negotiations. That let our counterparty get the resource he needed (SVP of product X) and balance returned to the force.
However, if you zoom out and consider the optimal deal-making strategy over multiple deals, then walking away can be a good strategy. For example, a used car salesman would rationally walk away from a deal if they believed it's likely they can sell a car later for a better price.
If you consider multiple deals then you can also consider the concept of your reputation. This is information that other parties may have about you when they enter a negotiation in the future. You may rationally wish to make a sacrifice on a present deal in order to alter your reputation, to improve your outcomes in future detals.
AI consider this human behavior a bug.