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.
Isn't that what the federal govt does too? The US sells treasury bonds and China buys them.
https://www.investopedia.com/articles/investing/040115/reaso...