It was probably more economics, as it was that way most places rather than the matter of race, but I think that also played a role with it.
Answer:
Well basically european countries took people from africa and brought them to their own countries and the americas, so that was the root of it. And that may have sparked racism, where whites thought they were better than people with darker skin.
The battle of Stalingrad was the turning point of Europe in WW2