New York, Jan. 29 -- U.S. stocks gained on Tuesday, as investors pivoted back to technology stocks following a steep sell-off triggered by fears of Chinese artificial intelligence (AI) competition.

The Dow Jones Industrial Average rose 136.77 points, or 0.31 percent, to 44,850.35. The S&P 500 added 55.42 points, or 0.92 percent, to 6,067.7. The Nasdaq Composite Index increased 391.75 points, or 2.03 percent, to 19,733.59.

Eight of the 11 primary S&P 500 sectors ended in red, with consumer staples and utilities leading the laggards by losing 1.50 percent and 1.39 percent, respectively. Meanwhile, technology and communication services led the gainers by going up 3.60 percent and 1.26 percent, respectively.

Analysts attributed the tech r...