I completely agree, but the key distinction here is who is
writing the jokes.
People experiencing trauma writing jokes about it and being able to joke about it despite the trauma can result in great material. The humor provides a shared way to process the traumatic events.
However, it is very different when a third party is doing the joking - and poorly at that. It often ends up just making fun of people who are suffering - which isn't exactly good taste. It is no longer joking amidst suffering, but joking about suffering.