When you're a comic book writer and your job depends on you churning out thousands and thousands of heroes and villains, you eventually get patently stupid ones.
Sometimes, the makers of these cartoons or sitcoms flip out and decide to create something nightmarish in an apparent 'screw you' to the audience. But what's surprising is that these episodes then get greenlit and air on national television.
It turns out that even science isn't always an exact science. There are plenty of white-coated professionals throughout history who spat in the face of empirical research and just injected themselves with shit to see what would happen.