That is one side of the ledger; what about the asset side of the ledger.
The federal government owns 61 percent of Alaska; how much is that land, oil, gas, and gold worth and what percent of that is to be returned to the people of Texas when the assets are distributed during the divorce.
The federal government owns much more including 27 percent of all the land in the United States - plus a lot of buildings, military equipment, and mineral rights, and highways. Texas helped to pay for a lot of that and are entitled to remuneration to help offset their portion of the federal debt.
It may turn out the federal government owes Texas more than Texas owes the feds.
https://comptroller.texas.gov/transparency/local/debt/texas.php
Note:
OUTSTANDING GENERAL OBLIGATION DEBT PER CAPITA
This graph shows the outstanding GO debt per capita for the past ten years. In 2020, the GO debt amounted to around $613 per capita.