Racism is taking the non-zero existence of a complaint and extrapolating it to the broader population without caring to get to know the individual people.
Unfortunately, it was probably an evolutionary survival technique that worked thousands of years ago but has pretty disastrous consequences today.
edit, to be clear, what sort of contradictory, no-win steriotypes to chimps have about other chimp groups or did early modern humans have about neanderthals?
Prior to the US having a nuclear program there were papers being published on the possibility of fusion reactions that split the atom. These papers then disappeared during the Manhattan project, signaling that research was happening which was being suppressed.
Is there evidence that China had papers on antigravity research and that such papers have recently stopped being published.
That’s just normal racism. Mexicans are too lazy to work, but come here and steal our jobs. Muslims come here to force Sharia Law on everyone, but fail to integrate and keep to themselves. Illegals are using public services for free, but pay taxes using fake information and are criminals. Obama was incompetent, but also managed to build complex shadow government. You can just keep going.
By using a dichotomous framework of stereotypes you can easily make a case against an entire population because if one negative stereotype doesn’t fit a given individual you simple apply the other one.