Racism is inherent in the human condition. Humans are hard wired to see differences and draw conclusions about the meaning of those differences based on experience. Humans are wired to identify “us” and “them” and differences of race are just too big for the human brain to ignore.
There is nothing immoral or inhuman about naturally drawing such conclusions. The mechanisms are largely below the conscious threshold. This is true of all human beings regardless of their skin color. All are born natural racists.