Why should something like this be funny on TV but not in real life?

Hello everyone, I've often noticed that comedies often show things that are supposed to be funny, but in real life, they're not. For example, a character vomits or has diarrhea. Why do people find that funny on TV, but not when they're actually suffering from it themselves, and why should something like that even be…