WASHINGTON -- The White House on Monday blamed Iranian President Hassan Rouhani for inciting a war of words with President Donald Trump, who warned that verbal threats could escalate into military conflict with the U.S.

Trump, who campaigned on a promise to bring a more hawkish approach to Iran, sent an all-caps tweet late Sunday warning of dire consequences for the longtime foe. "NEVER EVER THREATEN THE UNITED STATES AGAIN OR YOU WILL SUFFER CONSEQUENCES THE LIKE OF WHICH FEW THROUGHOUT HISTORY HAVE EVER SUFFERED BEFORE,"

Trump was responding to Rouhani, who had remarked earlier in the day that "America must understand well that peace with Iran is the mother of all peace and war with Iran is the mother of all wars."

Within hours, Iran's state-owned news agency IRNA dismissed the tweet, describing it as a "passive reaction" to Rouhani's remarks.

On Monday, the White House said Trump's tweet shows he is not going to tolerate critical rhetoric from Iran and insisted the U.S. leader isn't escalating tensions between the two countries.

"If anybody's inciting anything, look no further than to Iran," press secretary Sarah Sanders said and added that Trump has been "very clear about what he's not going to allow to take place."

White House press secretary Sarah Sanders declines to say whether Trump had consulted with national security aides, but said "The president consults with his national security team on a daily basis."

Trump's national security adviser, John Bolton, echoed Trump's rhetoric in a statement Monday saying he's spoken with Trump over the last several days and, "President Trump told me that if Iran does anything at all to the negative, they will pay a price like few countries have ever paid before."

In Tehran, a headline on a local newspaper quoted Rouhani as saying: "Mr. Trump, do not play with the lion's tail."

Prominent Iranian analyst Seed Leilaz downplayed the war of words, saying he thinks it was "the storm before the calm."

Leilaz told The Associated Press he was not "worried about the remarks and tweets," and that "neither Iran, nor any other country is interested in escalating tensions in the region."

Citing harsh words the United States and North Korea had exchanged before the high-profile summit between Trump and North Korean leader Kim Jong Un, Leilaz said Trump and Kim got "closer" despite the warring words.

Trump's eruption on Twitter came after a week of heavy controversy about Russian meddling in the U.S. 2016 election, following the Helsinki summit with Russian President Vladimir Putin.

The tweet was reverberating across the Mideast. Israeli Prime Minister Benjamin Netanyahu praised the U.S. president's "strong stance" after years in which the Iranian "regime was pampered by world powers."

Trump earlier this year pulled the U.S. out of the international deal meant to prevent Tehran from developing a nuclear weapon and ordered increased American sanctions, as well as threatening penalties for companies from other countries that continue to do business with Iran.

With the economic pressure, Trump said earlier this month that "at a certain point they're going to call me and say 'let's make a deal,' and we'll make a deal."

Iran has rejected talks with the U.S., and Rouhani has accused the U.S. of stoking an "economic war."

Rouhani also suggested Iran could immediately ramp up its production of uranium in response to U.S. pressure. Potentially that would escalate the very situation the nuclear deal sought to avoid -- an Iran with a stockpile of enriched uranium that could lead to making atomic bombs.

Trump's tweet suggested he has little patience with the trading of hostile messages with Iran, using exceptionally strong language and writing the all-capitalized tweet.

"WE ARE NO LONGER A COUNTRY THAT WILL STAND FOR YOUR DEMENTED WORDS OF VIOLENCE & DEATH. BE CAUTIOUS!," he wrote.

Trump has a history of firing off heated tweets that seem to quickly escalate long-standing disputes with leaders of nations at odds with the U.S.

In the case of North Korea, the public war of words cooled quickly and gradually led to the high profile summit and denuclearization talks. There has been little tangible progress in a global push to rid North Korea of its nuclear weapons program since the historic Trump-Kim summit on June 12.

Secretary of State Mike Pompeo flew to Pyongyang for follow-up talks earlier this month, but the two sides showed conflicting accounts of the talks. North's Foreign Ministry accused the United States of making "gangster-like" demands for its unilateral disarmament.

Some experts say Kim is using diplomacy as a way to win outside concessions and weaken U.S.-led international sanctions.

Many in Iran have expressed frustration that Trump has seemed willing to engage with North Korea, which has openly boasted of producing nuclear weapons, but not Iran, which signed the landmark 2015 nuclear deal with world powers.

Since Trump pulled out of the deal, other nations involved -- Germany, Britain, France, Russia and China as well as the European Union -- have reaffirmed their support for the deal and have been working to try and keep Iran on board.

"Iran is angry since Trump responded to Tehran's engagement diplomacy by pulling the U.S. out of the nuclear deal," Iranian lawmaker Heshmatollah Falahatpisheh told the AP.

He added, however, the war of words between the two presidents was to be expected, since official diplomatic relations between the two countries have been frozen for decades.

"They express themselves through speeches since diplomatic channels are closed," said Falahatpisheh who heads the influential parliamentary committee on national security and foreign policy.

On Sunday in California, Pompeo was strongly critical of Iran, calling its religious leaders "hypocritical holy men" who amassed vast sums of wealth while allowing their people to suffer.

In the speech at the Ronald Reagan Presidential Library and Museum, Pompeo castigated Iran's political, judicial and military leaders, accusing several by name of participating in widespread corruption. He also said the government has "heartlessly repressed its own people's human rights, dignity and fundamental freedoms."

He said despite poor treatment by their leaders, "the proud Iranian people are not staying silent about their government's many abuses," Pompeo said.

"And the United States under President Trump will not stay silent either."

------

Karimi reported from Tehran, Iran. Associated Press writers Zeke Miller at the White House, David Rising in Dubai, United Arab Emirates, Amir Vahdat in Tehran, Iran, Aron Heller in Jerusalem and Hyung-jin Kim in Seoul, South Korea, contributed to this report.