That’s actually fairly common, it’s called ‘humor as a coping mechanism’.
The CSI example is funny. I’ve heard that some police get annoyed with that show because people want them to do stuff like run a dna test for like a stolen bike and they’re Like now, we can’t do that.’