Huh?
It's ok for Texas to leave Mexico but the Southern states can't leave the US.
I'm not up on the Mexican Constitution of the time, but I'm willing to bet that there was no mechanism outlined in it for Texas to unilaterally secede. Their right was a natural right in the Lockean sense. Similarly, the 13 colonies had a natural right to rebel against England, but their action was utterly illegal under British law. The founding fathers fully recognized this and got busy fighting for their independence rather than making a legalistic argument.
Southern states had a natural right to revolt against the United States, not a constitutional one. They aren't the same thing.
So do you think we should have stayed a colony to the UK?