The answer is: The cotton gin made growing cotton very profitable and increased the demand for slave labor.
the cotton gin only speed up the time needed to separate seeds from cotton fiber, The rest of the production still utilize manual labors.
Because of this, many plantation owners see that producing cotton products using the cotton gin provide a really high profit margin. They orders more slaves to work on their plantation in order to increase the production efficiency in the plantation.