Yeah, it happens for pretty much the same reason. It's because I'm an overthinker, and debates and arguments (especially arguments) tend to cause me to overthink more than anything else, such as the feelings of others, their feelings towards me, their state of mind, if I should have phrased things less/more aggressively, etc., even when I know it's not personal.
It's pretty ironic, 'cause I've always held firm in the belief of not caring what other people think. I guess that form of thought and my overthinking habits contradict each other -.-'