Consumer spending pulled back sharply in May, weighed down by declining gas sales and looming unease over where the economy is headed, the Commerce Department reported Tuesday.