Legal Eagle just released a video on exactly this topic. Spoiler: the whole Texas being allowed to secede is basically a myth and pretty much all scholars agree that Texas nor any other state has the ability to leave except by a mutually agreed dissolution or via revolution.