Stocks were mixed on Tuesday, but held near record highs even as President Trump threatened more tariffs.