There is a problem here. Japan has a long history of intense racism targeting specifically ethnically Korean Japanese and Ainu, the indigenous population of Hokkaido, the northern most island. I give these examples only to show that you are missing a great deal of information. Genetic differences between human individuals are far greater than between groups identified by “race”. These are cultural groupings.
Is racism a common potential problem for homo sapiens? Certainly. The problem is more accurately stated as tribalism. We have evolved through family, extended family and tribal groups with inherent distrust of different groups. Racism shows up as a form of tribalism and is most common when there are specific and common physical characteristics that mark one group from another. But racism as it exists in the US is not inevitable.
You are probably not aware that Chinese civilization has a very limited history of racism. Imperial China, going back three thousand years did not consider race an issue. It considered ignorance an issue that marked people as inferior.
So what does this tell us? The problem in America is cultural racism. It has been allowed to exist when it should have been eliminated. There is no justification for racism as something that is endemic to human civilizations.