Consumer spending pulled back sharply, weighed by declining gas sales and looming unease over where the economy is headed.