Racism as Sadism
The state exists through violence. Rules are enacted and people must comply (except if you are a big shot because rules are made to keep the little guys in line). The big shots consist of a tiny clique that greedily absorbs the wealth from the labor of the little guys — and little gals — who constitute the masses. Given the gargantuan disparity between the number of big shots and the number of those who comprise the masses, the big shots had to devise a system to lock in the egregious maldistribution of wealth. The masses must be manipulated based on prejudices held or inculcated.