We’ve all been in situations where out of nowhere the conversation started escalating.
Unless you love drama, I would suggest you to avoid these situations. You might have the best argument in the world, but usually people get irritated when they feel they are wrong.
So, whenever you feel that the argument you have with another person (especially friends – it’s not cool to fight with friends) creates tension, move next to them. You won’t appear much of a threat, and they will eventually calm down.