Consumers confidence in the economy was shaken in December as Americans grow anxious about high prices and the impact of President Donald Trump’s sweeping tariffs.