Not exactly related, but some time ago I realized it's not ok to make fun of people with physical disabilities but somehow it's totally acceptable to make fun of people with lower IQ.
Here's an article explaining it further: https://www.merriam-webster.com/words-at-play/moron-idiot-im...
In my experience, there's often no backlash against jokes or even serious talking points about "stupid people".