There's both, I think. An instinctual aversion to too foreign is a health thing, just as aversion to too familiar. Likewise, instinctual attraction to somewhat familiar or somewhat foreign are for the support and spread of genes. There's a balance or tension between the two phenomena.