Stocks are ending lower for the second day straight, dragged down by losses in technology companies and banks, the AP reports. Energy companies also fell Wednesday as the price of crude oil continued to decline. Investors shifted money into safer holdings after more than a week of aggressive buying. Consumer staples and utilities were among the biggest gainers. Johnson & Johnson led health care stocks higher. Benchmark US crude sank 4% to just over $52 a barrel. It was trading at $59 a barrel in late May. The S&P 500 index fell 5 points, or 0.2%, to 2,879. The Dow Jones Industrial Average fell 43 points, or 0.2%, to 26,004. The Nasdaq fell 29 points, or 0.4%, to 7,792. Bond prices rose. The yield on the 10-year Treasury note fell to 2.12%. (More stock market stories.)