I don't know either. Some people are just racist because they, themselves feel threatened or inferior. So they project their fear, or inferiority on to other people.
In other words. It's a way for weak people to mitigate their own failures by claiming superiority by association over other people. Tell me if you need clarification