President Trump said Tehran is "playing with fire" after Iran breached the limits set in the nuclear agreement from which the U.S. withdrew last year.