Local and State in the US can't run deficits. They can put out bonds to fund projects but thats it. Its only the US federal government that can run deficits.
The majority of US debt is special bonds owned by the Social Security Trust Fund. Only about 30% of bonds are owned by foreign entities. And the top foreign holder fluctuates between China and Japan.