Signs of a slowing economy plus comments from a Fed official pulled stocks down. Applications for jobless benefits rose last week, and the mid-Atlantic’s manufacturing slowed. Walmart sank 2 percent after noting its customers are spending less. And the head of the San Francisco Fed said the Federal Reserve could end its bond-buying stimulus program this year — but only if the economy looks strong enough, he stressed. Companies have posted record profits this earnings season. But revenue has looked weak: Six out of every 10 companies in the S&P 500 have missed forecasts. Both the Dow and S&P 500 fell after closing at record highs Wednesday.