I'm not beating around the bush.
The story is funnier because of stereotypes. That's the function mentioning the group serves. Taking a joke overly seriously and then having it explained to you is also a stereotype. It's just mildly humorous, and now it's slightly moreso.