On what possible legal premise do you make this claim OTHER than the absolutely spurious construct of the Lincoln forces who posited that, somehow, the federal government pre existed the states and created the states.
On the premise that the southern acts of unilateral secession were not acts allowed under the Constitution and therefore constituted rebellion. The Supreme Court agreed with that, BTW, in Texas v. White in 1869.