Actually, the direct impetus for secession was the election of Abraham Lincoln.
Well, secession certainly followed on the heels of the election, but there had been plenty of discussion during the previous administration.