welp, I actually know what you mean. There are instincts like the group behavior were we tend to attack people outside of our group. Racism plays with these emotions of belonging to a group.
Still Ideologies are born in the mind, the emotions are just tools that make the ideology sustainable.