I believe it was because a Republican, Abraham Lincoln, was elected president. Republicans wanted to stop slavery from spreading. The southern states did not agree on the idea and decided to pull away from the U.S, later creating their own independent republic called the Confederate States of America.