Stocks climbed higher Tuesday as investors rotated back into popular tech names heading towards the end of a volatile month on Wall Street. The Dow Jones Industrial Average climbed nearly 300 points, while the S&P 500 and Nasdaq Composite added about 1.5% and 1.7%, respectively.

Here's how the market settled on Tuesday:

S&P 500 Index (SPY  ): +1.45% or +64.32 points to 4,497.63

Dow Jones Industrial Average (DIA  ): +0.85% or +292.69 points to 34,852.67

Nasdaq Composite Index (QQQ  ): +1.74% or +238.63 points to 13,943.76

Driving stocks higher, the number of open job positions fell to 8.8 million in July from the previous month's print of 9.5 million, the Bureau of Labor Statistics reported Tuesday, brining the data to a 28-month low. Market participants saw the report as a positive sign that the labor market is cooling in response to the Federal Reserve's hawkish monetary policy.

That optimism boosted growth tech stocks like Nvidia (NVDA  ), Meta Platforms (META  ), Apple (AAPL  ), Tesla (TSLA  ) and Microsoft (MSFT  ) higher on Tuesday.

Separately, consumer confidence dipped in August, according to the Conference Board's Consumer Confidence Index. The index's August reading came in at 106.1, marking a sharp pullback from July's revised print of 114 and falling below economists expectations for the month. Conference Board Chief Economist Dana Peterson also noted that August's losses also erased two months of gains.

"August's disappointing headline number reflected dips in both the current conditions and expectations indexes," Peterson said in a statement. "Write-in responses showed that consumers were once again preoccupied with rising prices in general, and for groceries and gasoline in particular."

On the earnings front, retailer Best Buy (BBY  ) delivered strong second quarter results, but lower the top end of its full-year sales outlook as CEO Corie Barry said the company anticipates the year to be "the low point in tech demand," before sales gain again. The company now expects revenue in the range of $43.8 billion to $44.5 billion and for comparable sales to declined by 4.5% to 6%.

"Next year the consumer electronics industry should see stabilization and possibly growth driven by the natural upgrade and replacement cycles and the normalization of tech innovation," Barry said in a release statement.

Electric carmaker Nio (NIO  ) shares declined after the company reported a second quarter loss of $835.1 million due in part to a broader economic slowdown in China and disappointing quarterly delivery volumes. However, CEO William Bin Li said said in a statement that Nio expects "a solid growth in vehicle deliveries in the second half of 2023."

In single-stock news, Citi analyst Michael Rollins upgraded both AT&T (T  ) and Verizon (VZ  ), saying the the telecom giants have made steps to afford their high dividend yields. AT&T and Verizon are currently down more than 20% and 13%, respectively, so far this year.

"A variety of concerns have weighed on Telco sentiment and valuation, including competition, industry structure, higher rates and lead. We see a more constructive investment case for large-cap Telcos," Analyst Michael Rollins wrote in a note on Monday. "The wireless competitive environment is showing positive signs of stabilization that should help operating performance."

Apple announced the date of its September launch event on Tuesday, where the tech giant is expected to announced the iPhone 15 and new Apple Watches, as Sept. 15. The new iPhone is rumored to use a USB-C charging port and some of the new devices could be made of titanium, according to reports.

For Wednesday, traders will respond to earnings reports from Salesforce (CRM  ) and CrowdStrike (CRWD  ) as well as ADP's jobs report for August.