I am not a Trump supporter but this is a classic business negotiation tactic...."punch your opponent in the nose" to get their attention and put them on the defensive.  Then agree to commit to work with them after you get what you want out of the negotiation.

I do not agree with Trump's morality and civility but I do recognize his business approach.  Not sure this always works in all diplomatic situations though.