Trump's warning comes as Israel and Iran pause attacks and indirect talks to reach a peace deal continue.