It's understandable to be upset if one of your friends ends the friendship between the two of you.
You have slept with their significant other, stolen money, or otherwise extremely violated the person's trust in you.