Why do you tend to be happy about knowing someone else’s failures? You also tend to have a pretend sympathy just so you can pass as a “friend”. Is it really comforting to know that someone is having a bad life? Or the fact that you’re not the only one who’s failing is actually the real comfort here. Or maybe you’re just happy that you are already one step ahead of that another problematic person.
Call it insecurity, jealousy, selfishness, but these traits make the world go round. People hate other people for comfort. Look around, listen, and read between the lines. These kinds of negativity are very real in modern times.