NEW YORK (AP) — Stocks retreated on Wednesday and gave back some of their gains from a day earlier, when the Standard & Poor’s 500 index had one of its best days of the year. Advertising companies and retailers had some of the steepest drops on worries about their earnings, while prices for Treasury bonds and gold rose modestly as investors sought safer ground.