President Donald Trump said Tuesday he was surprised by the resiliency of the stock market amid the Iran conflict.