oops, sorry; didn't mean to inject any lightheartedness on this thread.
It can make an unacceptable situation bearable and helps many to laugh off terrible things and keep their sanity reasonably well intact.
Some folks think mourning all situations is the only acceptable response to bad things in life.