you can't hate people just for their ethnicity, religion or race because you don't know that man, but people tend to generalize and hate whoever isn't like himself, it's an auto self-defense mechanism generated by your brain. The education is another cause.