I’ve always found that disturbing, too.
It’s called “gallows humor,” a defense mechanism against the horrible and insane, and it has been human nature forever.