>>213807072 (OP)Blacks used to be somewhat more integrated when they were first brought over as slaves in the very beginning in colonial America. They slept in the same quarters as white indentured servants, slavery was not inherited matrilineally, and there were some black people living freely. The states with slavery in general gradually chipped away at their rights, taking away the right to vote for free blacks and own property, making it illegal to free slaves without the governor's consent, things like that. They segregated their slaves from indentured servants and the number of indentured servants from Europe decreased anyway.
Slaveowners made up a whole lot of mythology to justify slavery. Much of it was the inherent inferiority of blacks and how they need to be slaves, but they also had this aesthetic, nostalgic ideal of the southern slave plantation.
Anyway, the racism and slavery got worse and more brutal as time went on until the civil war. Except for some abolitionists, white people never wanted anything to do with black people. Either they wanted them as slaves, or they made laws disallowing black people from entering because they still hated them.
And then the racist stereotypes just got updated over time after slaves were freed to justify Jim Crow laws and segregation.
Basically, a hatred of black people has been baked into the culture for hundreds of years. There was never any chance of mass race mixing, until about the modern era. The end of segregation and black suffrage (excepting some minor periods where black people voted and held office before that eas stopped) are very recent in American history in the grand scheme of things.