Well, if the holocaust was anything to learn from, rasism, sexism, etc. seems to be caused by ignorance or blame. Germans were having a bad time after world war one, so they used jewish people as a scapegoat, which led to WW2 and the attempt at assimilating the jews.
As for day to day rasism...