U.S. consumers were less confident in the economy in December as Americans remain anxious about still-high prices and the impact of President Donald Trump’s sweeping tariffs.