A science free opinion:
Is it possible that the ability to generalize of off lived experiences was a survival asset for early humans? Eat plants with this shaped leaves; don’t eat those shaped leaves.
However this skill at generalizing doesn’t allow for nuance. When this skill is aimed at society, stereotypes are the result. This desire to categorize and understand actually reveals the opposite. Less understanding, and knowledge is harmed by the short cuts taken.