President Trump has repeatedly threatened to use force to compel Iran to agree to constrain its nuclear program.