The Centers for Disease Control and Prevention carried out its responsibility Tuesday by warning the US public of an increased risk of a coronavirus outbreak within the country.

The announcement enraged President Donald Trump, however, according to The Washington Post, because he believes the CDC's warnings spooked investors and contributed to the stock market's downturn over the past two days.

Trump has spent the past several days downplaying the likelihood of an outbreak, saying China — where the novel coronavirus originated last year — had the situation under control.

He also accused Democrats and the mainstream media of stoking fears about the virus and said the US was "in great shape!"

Visit Business Insider's homepage for more stories.

Public-health officials on Tuesday announced that the US should prepare for a coronavirus outbreak and enraged President Donald Trump in the process.

"It's not so much of a question of if this will happen in this country anymore but a question of when this will happen," Dr. Nancy Messonnier, the director of the National Center for Immunization and Respiratory Diseases at the Centers for Disease Control and Prevention, said during a press call. "We are asking the American public to prepare for the expectation that this might be bad."

Messonnier also said the agency was "preparing as if we are going to see community spread in the near term," adding that the outbreak could soon lead to a "disruption to everyday life."

The announcement infuriated Trump, The Washington Post reported Wednesday, because he believes the CDC's warnings spooked investors and contributed to the stock market's downturn over the past two days.

The Dow Jones Industrial Average tumbled by more than 1,000 points Monday and by nearly 900 points on Tuesday. According to CNBC, it was the first time the benchmark posted consecutive losses of at least 800 points.

The president, meanwhile, is significantly downplaying the possibility of a severe coronavirus outbreak in the US.

"China is working very, very hard," Trump told reporters at a business roundtable at the US Embassy in New Delhi. "I have spoken to President Xi, and they are working very hard. If you know anything about him, I think he will be in pretty good shape. They have had a rough patch, but now it looks like they are getting it more and more under control. I think that is a problem that is going to go away."

Early Wednesday, Trump suggested the news media and Democratic lawmakers were trying to stoke fears about the spread of the virus.

"Low Ratings Fake News MSDNC (Comcast) & @CNN are doing everything possible to make the Caronavirus look as bad as possible, including panicking markets, if possible," he tweeted, misspelling coronavirus and using a pun for MSNBC. "Likewise their incompetent Do Nothing Democrat comrades are all talk, no action. USA in great shape!"

The president also tagged the CDC's Twitter handle in a subsequent tweet and said he would hold a news conference about the coronavirus at the White House later Wednesday, adding that CDC officials would be present.

Trump's comments are at odds with reality and fly in the face of repeated warnings from public-health officials.

The US is restricting travel to and from China — where the novel coronavirus originated last year — and quarantining identified cases of the disease known as COVID-19.

But Messonnier on Tuesday said the fact the disease was spreading to countries outside its place of origin had raised the CDC's concerns and fueled the "expectation that we'll see spread" in the US.

The World Health Organization has identified more than 80,000 cases of COVID-19 across 30 countries and more than 2,700 deaths worldwide. The vast majority of cases and deaths are in China, but there are now multiple countries with hundreds of cases each. As of Tuesday there were more than 300 reported cases in Italy and nearly 100 in Iran. There are more than 50 confirmed cases in the US.

"When you start to see sustained transmission in other countries throughout the world, it's inevitable that it will come to the United States," Dr. Anthony Fauci, the director of the National Institute of Allergy and Infectious Diseases, told NBC News.

The Post reported this week that Trump was obsessed with following the stock market's fall as he traveled in India over the past two days and that White House officials were also displeased with how Alex Azar, the health and human services secretary, had handled the situation.

Azar held a news conference Tuesday in which he downplayed the potential for a coronavirus outbreak in the US, but by that point the market had already plummeted, and Azar's remarks didn't have a noticeable impact on the numbers.