To keep slaves is the simple answer. More nuanced is that the southern states seceded because several “non-slaveholding” states refuse to follow federal law and return escaped slaves and the federal government refused to enforce those laws. (a good call)
There were a bunch of issues wrapped up in the road to civil war, but they were almost all related to slavery.