President Donald Trump suggested Monday that the federal government should not be responsible for bailing out states and cities that are struggling financially because of the coronavirus pandemic.

"Why should the people and taxpayers of America be bailing out poorly run states (like Illinois, as example) and cities, in all cases Democrat run and managed, when most of the other states are not looking for bailout help?" Trump tweeted Monday morning.

"I am open to discussing anything, but just asking?" he added.

Why should the people and taxpayers of America be bailing out poorly run states (like Illinois, as example) and cities, in all cases Democrat run and managed, when most of the other states are not looking for bailout help? I am open to discussing anything, but just asking? — Donald J. Trump (@realDonaldTrump) April 27, 2020

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

State and local governments have pressed for federal aid in recent weeks as the coronavirus pandemic dries up many of their revenue sources, threatening a fiscal catastrophe. State and local governments have said they may need as much as three-quarters of a trillion dollars.

Full coverage of the coronavirus outbreak

Trump's comments came just days after Senate Majority Leader Mitch McConnell, R-Ky., said he would prefer states to be able to declare bankruptcy rather than have the federal government provide hundreds of billions of dollars in relief to state and local governments.

New York Gov. Andrew Cuomo, a Democrat, responded to Trump later Monday by pointing out that New York is one of the states that typically gives back to the federal government more than it receives.

"If you want to go to who gets bailed out and who paid what, nobody would be bailing out New York State. New York State has been bailing them out every year for decades," he said. "If you want to do an analysis of who is a giver and who is a taker, we are the No. 1 giver."

Cuomo added: "Who are the taker states? Kentucky. Southeast part of the country."

White House senior adviser Kevin Hassett said last week that states cannot declare bankruptcy unless Congress changes the law, so the federal government is "probably" going to have to assist state and local governments further. McConnell has floated changing the law so states can declare bankruptcy.

Download the NBC News app for full coverage and alerts about the coronavirus outbreak

Although Democrats sought to include about $150 billion in funding to state and local governments in the latest coronavirus aid package, the aid did not make it into the final bill. Already, Congress approved has $150 billion in funding for state and local governments as part of earlier coronavirus legislative aid — assistance that governors and local leaders said would ultimately not be enough.

A Congressional Research Service report on initial coronavirus aid last week said that "early evidence suggests that the COVID-19 economic shock will have a notable impact on state and local budgets," pointing to the "sizable share of economic output" that derives from state and local governments.