Why did the southern states secede in the civil war?

Officially, the main issue was "State's Rights" -- the right of a sovereign state (like South Carolina) to make its own laws, structure its own economy, without interference from the Federal government. In actuality, one of the main issues was a State's right to allow/promote/legalize slavery. Slavery was a key issue, but not the sole issue