The development of the cotton gin led to the spread of slavery because ____ .

A:it led to more competition between the North and the South.
B:it increased the demand for workers.
C:it made the production of cotton more expensive.

B: it increased the demand for workers.