The manner in which it's mocked may disproportionately impact some groups. If (for example) minorities have higher levels of imposter syndrome, that sort of "you're an idiot" mockery might knock disproportionate numbers of minorities out of the field early on.