I hate to wade into this steaming pile of a thread, but for the economically clueless:
Let's say California has a population of one. This person earns $50,000 a year, pays $10,000 in federal taxes, and the feds turn around and pay $5,000 to shine some lights on a big redwood tree in Redwood Forest National Park.
Meanwhile, the state government collects another $7,000 from its citizen, and decides to blow it all in a spectacular fireworks show on Cinco de Mayo. The fireworks were a little more expensive than anticipated, grand total $9,000, so the state government of California sells a $2,000 bond to cover the difference.
In such a scenario, California the state government is "broke-azz", but California the state GDP is a net contributor towards the federal government's coffers.
Broke state governments and net federal contributor state GDPs aren't mutually exclusive. I don't think the issue is that complicated.