Why neither judges nor even a Constitutional amendment have authority to ban state secession in the US

the states consented to a constitution that can be amended, but only because they knew they could secede if it were amended horribly