What was the confederaceys reason for war?

They wanted to form their own country. (They wanted to secede from the United States of America and form their own Confederate States of America).