Consumer confidence is slipping as Americans face rising inflation and renewed worries about a potential government shutdown.