The Nasdaq composite underperformed, falling 1.6 percent, as shares of Google-parent Alphabet declined more than 2 percent. The EU fined Google a record $2.7 billion, as regulators ruled the company violated antitrust rules.
"Alphabet is what's weighing on technology stocks," said Robert Pavlik, chief market strategist at Boston Private. "I find the news about Google incredibly hard to believe. Do they not have other search engines in the EU?"
Shares of Facebook, Netflix and Amazon followed Alphabet lower, closing at least 1.5 percent lower.
Technology stocks have been closely watched by Wall Street this year as the sector has outperformed. Entering Tuesday's session, the sector had gained nearly 20 percent in 2017.
The S&P 500 dropped 0.8 percent as the Technology Select Sector SPDR exchange-traded fund (XLK) closed below its 50-day moving average, a key technical indicator, for the first time since April 13.
"Short-term momentum has deteriorated over the past few days, but the impact to the [S&P 500] has been minimal in that it remains solidly above initial support near 2400," said Katie Stockton, chief technical strategist at BTIG, in a note Tuesday.
"We see this as a testament to the healthy breadth behind the market, which has been helped by rotation on the sector front."
In economic news, consumer confidence for June topped expectations, hitting 118.9. Economists polled by Reuters expected a print of 116.
Wall Street was also on the lookout for remarks from key Federal Reserve officials, including Fed Chair Janet Yellen. Yellen said banks are "very much stronger," adding that another financial crisis is not likely in our lifetime."
Separately, Philadelphia Fed President Patrick Harker said he sees the Fed on track to raise rates once more this year.
Treasury yields spiked higher after European Central Bank President Mario Draghi said the central bank could adjust its monetary-policy tools. The benchmark 10-year yield rose to trade around 2.2 percent.
"Today's action is partially driven by tech and interest rates," said Michael Shaoul, chairman and CEO of Marketfield Asset Management. "What's going on is a repricing of global interest rates."