Racism in the United States has had 2 basic steps for most of its history:
1. Steal land from Indians
2. Make black people overwork it
Rinse and repeat as each plot is depleted.
The era where the "frontier" closed is the point where people started running out of new Indian land to steal.