The past 13 years in America we have seen a resurgence in racist acts or racist behavior, but racism has been around for 400 years.
Some dude in 1621: "Guys what if we invented racism? That would be funny I think"
I mean you're being facetious, but social structures normally are created out of convenience and material reality, with the underlying ideology and rationale created post hoc. Compare to feudalism - it wasn't invented by a man in a castle who thought "damn I am create this arbitrary distinction between peasants and nobles" but a long process that emerged during and after the collapse of the Roman Empire. Racism as it exists in America emerged after the material reality of Europeans needing a cheap source of labour suited for warm climates, and tapping into and expanding the existing slave networks in West Africa; a convenience that would become strictly codified and institutionalised as the centuries went on.