Well, basically the 'market' is just people trading. People react to incentives and have preferences.
Luckily, people are hypocrites, so they will say that we should 'buy American', but then happily engage in free trade. Or they say that we should segregate races, but then greed dictates that it's more profitable not to discriminate like that.
Yes, if people are bought and sold, that also happens on a market. Alas.
Apropos that topic, you might like https://pseudoerasmus.com/2014/09/05/antebellum_ussouth_cott...