yes, I think the mechanisms for racism apply to all races.
I think some of those mechanisms, at least, are an inability for the mind to achieve a gestalt.
"
Gestalt psychology or
gestaltism (
German:
Gestalt "shape, form") is a theory of mind of the
Berlin School. Gestalt psychology tries to understand the laws of our ability to acquire and maintain meaningful perceptions in an apparently chaotic world. The central principle of gestalt psychology is that the mind forms a
global whole with self-organizing tendencies. This principle maintains that when the human mind (perceptual system) forms a percept or gestalt, the whole has a reality of its own, independent of the parts."
Gestalt psychology - Wikipedia, the free encyclopedia
This, I think can be due to a person meeting someone with:
A different physical form and features to the ones they are attuned to.
A difference in accent to the one they are attuned to.
A difference in culture to the one they are attuned to.
Even things like names could be included, I think....names from other countries and cultures can be harder to differentiate between, for me anyway.
Without a gestalt, or weaker ones, you can't recognise someone quickly, and strongly, and then that will lead to less trust, and more fear, and thus more hatred/dislike.