U.S. stocks ended modestly higher with the S&P 500 hitting a second straight all-time closing high. The Federal Reserve's January policy meeting and Trump's tariff plans were scrutinized by investors. Concerns over inflation and economic slowing were noted, as well as potential future rate cuts by the Fed.