system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry potter] why are wizards and witches auch elitist and racists?
gpt
In the past their people, a distinct minority in the human population, were heavily persecuted. This was during the medieval era. Despite being powerful, they still struggled to survive.  


As a result, the wizards and witches isolated themselves, forming their own ethnic (for the lack of a better term,) enclaves, preserving their own culture. Their 'racism' as you call it is arguably justified. If they suddenly reappeared, there would be mass chaos on a civilizational scale. A tiny group of people with no apparent limit to their abilities living alongside normal humans? It would be the equivalent to finding out that lizardmen exist.  


The elitism that exists is possibly just a natural result of that massive difference in power. A group of people with genetic superiority over another group in a way that is obvious and evident would naturally breed that kind of ideal. Just look at the slur mudblood for example.