I think people just try to cloak thier own misery by getting off on making others feel what they feel. It's inexplicable, but it results from our complexity as humans.
Applauds to you for maintaining your calm and focusing on what matter more rather than feed feed the thug with that he wanted—attention.
How's your friend now? Quite brave of you to help her home at night.