The state giving rise to this discussion is Texas. That state was explicit as to slavery.
https://web.archive.org/web/20040404171724/http://members.aol.com/jfepperson/ordnces.html#Texas
WHEREAS, The recent developments in Federal affairs make it evident that the power of the Federal Government is sought to be made a weapon with which to strike down the interests and property of the people of Texas, and her sister slave-holding States, instead of permitting it to be, as was intended, our shield against outrage and aggression.
Other states were equally explicit, and yet other states not as explicit. You can amuse yourself with Florida’s ordinance.
Some states issued a declaration of causes. According to this analysis ...
https://www.battlefields.org/learn/articles/reasons-secession
56% of the reasons cited by Georgia were directly due to slavery.
73% by Mississippi.
54% by Texas.
20% by South Carolina.
Of course, the election of Abraham Lincoln and “context” might indirectly point to slavery. Contrariwise, the tariff and the domination of the Union by northern manufacturing interests is given relatively minor emphasis.
The doctrine of “states’ rights,” it should be pointed out, is a negation of the doctrine of individual rights. The state is sovereign, not the people.
According to the Declaration of Independence, rights are inherent in persons. They join together to form a government to protect those rights. According to states rights, some people can be chattal slaves because the state has decided and people do not have any inherent rights.
To some people, states’ rights is about debt repudiation, as argued by Jefferson Davis before the war. As pernicious as that is, justifying chattal slavery on the basis of states’ rights is much worse.
“You can amuse yourself with Floridas ordinance.”
The reason I asked about Florida is because earlier you wrote that “other states” seceded to defend slavery and said so in their ordinances of secession. As far as Florida - the third state to secede - it sounded then and now like something you heard somewhere or just made up.