Meanwhile, the Nasdaq composite closed 0.7 percent higher at 7,689.24 and hit a record high as tech regained earlier losses. But tech's gains were capped after the Financial Times reported the European Union was set to unveil a negative finding from a probe on Google. Shares of Google-parent Alphabet closed 0.4 percent lower on the news.
Tech has been on fire recently, rising more than 6 percent over the past month to a record high. The best-performing tech names over that time include chipmakers Advanced Micro Devices, Micron Technology and Microchip Technology. PayPal, Electronic Arts and Facebook are also up sharply over the past month.
"It's interesting because, over the past few years, you've seen tech perform as a defensive sector," said Quincy Krosby, chief market strategist at Prudential Financial. "What we're seeing are concerns about global growth as overseas data have, overall, suggested moderation outside of the U.S."
Krosby also said concerns over a trade war between the U.S. and key partners have also helped push tech higher recently.
Mexico — one of the biggest U.S. trade partners — unveiled tariffs on Tuesday that target U.S. goods such as pork, cheese and steel. This comes after the Trump administration last week slapped tariffs on steel and aluminum imports from the European Union, Mexico and Canada.
Canada's Chrystia Freeland said the country plans to slap dollar-for-dollar tariffs on the U.S. Meanwhile, the EU threatened to retaliate with tariffs of its own.
"At least for now, instead of getting trade deals done with the stick of steel and aluminum tariffs, we have instead invited tariffs back on us," wrote Peter Boockvar, chief investment officer at Bleakley Advisory Group, in a note. "I thought the point of our tariffs on them was to get them to negotiate with us but instead it's just inviting more tariffs. Let's hope this stays under control."