With major wildfires still roaring out of control in California, President Donald Trump took to Twitter on Saturday to blame "gross mismanagement of the forest" for the catastrophe and threatened to withhold federal funds if the issue is not remedied.

It was his first tweet on the wildfires, now among the deadliest and most destructive in California history, although he earlier issued an emergency declaration providing federal funds for Butte, Ventura and Los Angeles counties.

At least nine people have been killed and the entire town of Paradise, in northern California has been destroyed.

"There is no reason for these massive, deadly and costly forest fires in California except that forest management is so poor," Trump tweeted. "Billions of dollars are given each year, with so many lives lost, all because of gross mismanagement of the forests. Remedy now, or no more Fed payments!"

His latest remarks were reminiscent of his tweets during another major outbreak of fires in California in August, when he blamed the wildfires on "bad environmental laws" and his claim that water from the north was "foolishly being diverted into the Pacific Ocean."

In that tweet burst, Trump also said California wildfires "are being magnified & made so much worse by the bad environmental laws which aren’t allowing massive amount of readily available water to be properly utilized."

At the time, The New York times noted a debate over the allocation of water for irrigation or fish habitat but none regarding water purportedly being diverted into the ocean.

More:California wildfires roar unchecked, drive 250,000 people from homes

More:'We’ve lost it all': California wildfire's fury overwhelmed fire-wary residents in Paradise

The Times quoted Cal Fire officials as saying there is no shortage of water for fighting fires. Helicopters collect water from lakes and ponds to douse wildfires and have plenty at hand, they said.

Asked about that the president's tweeted claim of water diversion, a spokesman for Gov. Jerry Brown, Evan Westrup, told the Times in an email, “Your guess is as good as mine.”

The presidents of two professional firefighters associations have denounced President Donald Trump's assertion that "gross mismanagement of the forests" is to blame.

California Professional Firefighters president Brian Rice called the President's words "ill-informed, ill-timed and demeaning" in a written statement.

Harold Schaitberger, General President of the International Association of Fire Fighters, said the comments were "reckless and insulting."

"Moreover, nearly 60 percent of California forests are under federal management, and another two-thirds under private control. It is the federal government that has chosen to divert resources away from forest management, not California."

The Trump tweet also prompted some harsh criticism from singer Katy Perry, a native Californian, who called his remarks "heartless."

“This is an absolutely heartless response," she tweeted. "There aren’t even politics involved. Just good American families losing their homes as you tweet, evacuating into shelters.”

Singer-songwriter John Legend, who lives in Los Angeles, also weighed in, tweeting, "Our National Embarrassment can't bring himself to show some empathy to Californians dealing with a horrific disaster."

Later on Saturday, Trump tweeted appreciation for the firefighters battling the blazes: "Our hearts are with those fighting the fires, the 52,000 who have evacuated, and the families of the 11 who have died. The destruction is catastrophic. God Bless them all."