We’re not born with racial prejudices. We may never even have been “taught” them. Rather, explains Nosek, prejudice draws on “many of the same tools that help our minds figure out what’s good and what’s bad.” In evolutionary terms, it’s efficient to quickly classify a grizzly bear as “dangerous.” The trouble comes when the brain uses similar processes to form negative views about groups of people.
http://www.motherjones.com/politics/2014/11/science-of-racism-prejudice