President Donald Trump's tweets about North Korea have gotten quite "frisky," but that's not necessarily a bad thing, New York Times columnist Thomas Friedman said Tuesday.

"A little crazy doesn't hurt when dealing with North Korea and China," Friedman said on CNBC's "Squawk on the Street."

On Sunday, Trump tweeted that the United States is considering stopping all trade with any country doing business with North Korea after Pyongyang‎ set off its most powerful nuclear bomb yet.

The president also called North Korea a "rogue nation" and said talks of appeasement will not work, a reference to South Korea. "They only understand one thing!" he said, referring to North Korea.

Tweet 1

Tweet 2

After a previous North Korean provocation, Trump promised early last month to answer Pyongyang's threats with "fire and fury."

Friedman, who received three Pulitzer Prizes for international reporting and distinguished commentary, said Trump's tweets could keep North Korea on edge.

Regarding North Korea latest actions, Friedman said it appears North Korean leader Kim Jong Un sees developing a nuclear arsenal as a way to ensure his isolated regime's survival.

"I can't say that I'm restless sleeping at night thinking that this guy is going to bomb South Korea," Friedman said. "That would be suicidal. Everything tells us that this three-generation dynasty is homicidal, not suicidal." Kim's father and grandfather preceded him as North Korea's leader.

On Monday, the U.S. ambassador to the United Nations warned the U.N. Security Council that North Korea is "begging for war."

The Trump administration urged its allies to use all possible diplomatic measures and impose urgent economic sanctions to prevent a war.