U.S. stocks closed mostly lower Thursday, weighed by declines in health care and technology stocks, as traders eyed oil prices and awaited the retail sales report due Friday. Apple closed more than 2 percent lower at its lowest since June 2014. (Tweet This)
"The market seems to be at an inflection point and investors are trying to get their arms around where the next move is," said Myles Clouston, senior director at Nasdaq Advisory Services.
"There really is a lack of conviction of late. No one's chasing it much higher," he said.
The S&P 500 closed a touch lower, as declines in health care, tech and industrials offset gains in most sectors led by telecommunications.
The Dow Jones industrial average clung to gains of less than 10 points, with Boeing contributing the most to gains and Apple having the greatest negative impact.
Apple "was not the reason for the decline. It contributed to it and exacerbated it," said Jeremy Klein, chief market strategist at FBN Securities. He said stocks were mostly tracking oil prices in Thursday's session, as investors awaited April retail sales due Friday morning.
U.S. crude oil futures recovered from an intraday dip to settle up 47 cents, or 1.02 percent, at $46.70 a barrel. Earlier, WTI topped $47 a barrel to its highest since early Nov. 2015. Brent briefly topped $48 a barrel before holding around $47 in afternoon trade.
Apple briefly fell more than 3 percent to hit a fresh 52-week intraday low to weigh on the Nasdaq composite, which closed nearly half a percent lower after dipping 1 percent intraday.
Read MoreApple just sent up another red flag for stocks
"Anytime you have weakness in a market leader you have to be careful," said Anthony Valeri, investment strategist at LPL Financial.
Apple and Gilead Sciences had the greatest negative impact on the Nasdaq 100, while Microsoft and Amazon.com contributed the most to gains. The iShares Nasdaq Biotechnology ETF (IBB) closed 1.7 percent lower.
"Beta is for sale. Apple is weak, not much technical support," said Ilya Feygin, managing director and senior strategist at WallachBeth Capital.
"I think it's a slightly negative combination of weaker growth and no change in the Fed," he said.
In economic news, weekly jobless claims rose to 294,000. Import prices rose 0.3 percent in April, while export prices rose 0.5 percent.
Treasury yields held higher, with the 2-year yield near 0.75 percent and the 10-year yield around 1.75 percent. The Treasury also held a $15 billion sale of 30-year bonds that was met with weak demand.
"Tomorrow, retail sales are either going to confirm things really are weak or it will show the employment number and the GDP number was temporary weakness," said Bryce Doty, senior fixed income manager with Sit Investment Associates. "Maybe it's looking more forward to tomorrow morning."
The U.S. dollar index was roughly 0.4 percent higher, with the euro last near $1.137 and the yen near 109.1 yen against the greenback.
Read MoreTrump and Nordstrom bookend the day for stocks
On Wednesday, stocks closed lower despite gains in oil prices as disappointing retail earnings renewed concerns about consumer spending levels ahead of April retail sales, due Friday. The SPDR S&P Retail ETF (XRT) fell 4.4 percent for its worst day since August 2011.
The ETF closed 0.26 percent lower Thursday.
"When you're kind of directionless one little thing can move the market," said Maris Ogg, president, Tower Bridge Advisors.
"I think the market is really hamstrung by its valuation. You're just swinging around one direction to another and it's not making a difference," she said.
Boston Fed President Eric Rosengren, a voting member, said in a speech the markets are underestimating the pace of potential rate hikes by the central bank. In another speech, Cleveland Fed President Loretta Mester said inflation weakness has been driven by transitory oil weakness and a strengthening dollar.
Kansas City Fed President Esther George, another voting member, said in a Reuters report the Fed is keeping interest rates too low and risks encouraging companies to take on excessive amounts of debt.
Major U.S. Indexes
European stocks closed lower, with the German DAX falling more than 1 percent.
Asian stocks ended mixed, with the Nikkei 225 0.4 percent higher and the Shanghai composite a touch lower. The Hang Seng closed 0.7 percent lower.
Read MoreEarly movers: KSS, GE, CMG, JACK, JBLU, CA, CAT, TIF & more
The Dow Jones industrial average closed up 9.38 points, or 0.05 percent, at 17,720.50, with Nike the top advancer and Apple leading decliners.
The closed down 0.35 points, or 0.02 percent, at 2,064.11, with telecommunications leading seven sectors higher and health care the greatest laggard.
The Nasdaq composite closed down 23.35 points, or 0.49 percent, at 4,737.33.
The CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, traded near 14.4.
Decliners were a step ahead of advancers on the New York Stock Exchange, with an exchange volume of 931 million and a composite volume of 3.7 billion.
Gold futures for June delivery settled down $4.30 at $1,271.20 an ounce.
On tap this week:
Earnings: Nordstrom, Nvidia, Symantec, Shake Shack
Earnings: Honda Motor, Brookfield Asset Mgmt., JC Penney
8:30 a.m. Retail sales
8:30 a.m. PPI
10 a.m. Consumer sentiment
10 a.m. Business inventories
6:25 p.m. San Francisco Fed's Williams
*Planner subject to change.
More From CNBC.com: