Sometimes people get so caught up in their own misery it makes them feel better to share or cause misfortune to others.

Misery loves company right.

There is a term that fits this condition to a T. Schadenfreude

And who else but the Simpsons to break it down in its simplest form thereby allowing even the simplest minds to comprehend. I love the Simpsons.