India, Aug. 7 -- Stocks moved mostly higher early in the session but gave back ground over the course of the trading day on Thursday. The major averages pulled back well off their highs of the session before eventually ending the day mixed.

While tech-heavy Nasdaq added to Wednesday's strong gain, climbing 73.27 points or 0.4 percent to 21,242.70, the S&P 500 edged down 5.06 points or 0.1 percent to 6,340.00 and the Dow fell 224.48 points or 0.5 percent to 43,968.64.

The early strength on Wall Street came after President Donald Trump announced a 100 percent tariff on imports of semiconductors and chips but said companies that are "building in the United States" would be exempt.

"The good news for companies like Apple is if you're buildin...