(AP) -- Wall Street racked up more losses Friday on a choppy day of trading that left the major indexes mixed and the S&P 500 with its second straight weekly decline.
The S&P 500 ended 0.1% lower after having been up 0.7% in the early going. The benchmark index, which hit an all-time high two weeks ago, lost 0.4% this week. That follows a 1.4% loss last week.
Gains for banks and health care companies were kept in check by drops in technology stocks and in companies like Tesla, McDonald's and Amazon.com that rely directly on consumer spending. Energy stocks eked out a small gain as the price of U.S. crude oil rose. Treasury yields were mixed.
The market's latest bout of selling come as investors remain focused on the possibility of inflation as the economy stirs to life following more than a year of shutdowns related to the COVID-19 pandemic.
"The market is trying to digest signs of incipient inflation that may be more than transitory, with what the Fed's reaction might be," said Alicia Levine, chief strategist at BNY Mellon Investment Management.
The S&P 500 slipped 3.26 points to 4,155.86, while the Nasdaq slid 64.75 points, or 0.5%, to 13,470.99. The Dow Jones Industrial Average fared better, gaining 123.69 points, or 0.4%, to 34,207.84.
Small company stocks also notched gains. The Russell 2000 index picked up 7.51 points, or 0.3%, to 2,215.27.
The market's pullback this month reflects heightened unease among traders that rising inflation may prompt central banks to pull back on their efforts to support job growth before the economic recovery is fully realized. The Federal Reserve has said it expects any bump in inflation to be temporary, though investors are uncertain about how hot inflation could become.
Analysts have also said investors are looking further ahead, beyond the recovery, and wary about potential tax changes and the impact they may have on growth.
The U.S. Treasury Department supports a global minimum corporate tax rate of at least 15% as part of an effort to end what it calls "a race to the bottom'' as countries compete with each other to cut corporate tax rates and lure multinational companies.
Solid earnings helped lift several companies Friday. Foot Locker rose 2% after reporting solid first-quarter earnings and revenue. Agricultural equipment maker Deere gained 1.3% after beating Wall Street's fiscal second-quarter profit forecasts.
Oatmilk maker Oatly rose another 11.2%, following the 19% climb it made a day earlier on its first day of trading.
Nvidia, the graphics card and chip manufacturer, rose 2.6% after the company announced a four-for-one stock split. Nvidia was one of the biggest gainers of 2020.
Treasury yields were mostly stable. The yield on the 10-year Treasury note fell to 1.62% from 1.63% late Thursday.
The price of Bitcoin also turned choppy following headlines out of China, where a government official said in a statement that the country is focused on cracking down on Bitcoin "mining and trading behavior."
Earlier this week, the price of Bitcoin and other digital currencies fell sharply after China's banking association issued a warning over the risks associated with digital currencies. The price of Bitcoin gave up 12% to about $35,412, according to crypto news and information site Coindesk.