It's good to recognize that sometimes we get stuck in our feelings. We can assume that some sort of insult or slight was made against us, and because we can be so stuck, we refuse to see the other side.
To me, one of the most important skills one can have, is to be able to stop and recognize when we are wrong, or that "being right" isn't worth the aggravation.
Instead of doubling down ask yourself "Could I be wrong? Is this feeling justified or am I just stuck?"
It might save a friendship.