Stocks ended Tuesday's session mixed as consumer confidence data fell to its lowest point since the beginning of the coronavirus pandemic. Yet, that did not stop the S&P 500 and Nasdaq's recent outperformance, with both indices closing at record highs again. The Dow, however, slid due to a coming shake up for the index at that end of the month.

Announced after market close on Monday, Dow components Exxon Mobil (XOM  ), Pfizer (PFE  ) and Raytheon Technologies (RTX  ) will be replaced by Salesforce (CRM  ), Amgen (AMGN  ), and Honeywell International (HON  ) to balance the index's technology weight. Exxon, Pfizer, and Raytheon fell 3%,1%, and 1.5%, respectively, on Tuesday.

Meanwhile, the Conference Board's Consumer Confidence Index for August unexpectedly fell to 84.8, replacing April's low as consumers become more concerned about the economic future. August's reading declined by July's revised reading of 91.7. In addition, the percentage of consumers that expect business condition to improve over the next six months also fell to 29.9% from July's 31.6%.

"Consumers' optimism about the short-term outlook, and their financial prospects, also declined and continues on a downward path," Lynn Franco, senior director of economic indicators at the Conference Board said in a statement. "Consumer spending has rebounded in recent months by increasing concerns amongst consumes about the economic outlook and their financial well-being will likely cause spending to cool in the months ahead."

Here's how the market settled on Tuesday:

S&P 500 Index (SPY  ): +0.36% or +12.39 points to 3,443.67

Dow Jones Industrial Average (DIA  ): -0.21% or -59.78 points to 28,248.68

Nasdaq Composite Index (QQQ  ): +0.76% or +86.75 points to 11,466.47

For Major Stock News, Apple (AAPL  ) shares snapped their 5-day rally after a Californian judge stated that Epic Games would still be able to use Apple's software-development tools even though 'Fortnite' would remain out of the App Store at this time. Epic Games and Apple has begun a legal battle recently, with Epic alleging that Apple is monopolistic in its App Store polices. American Airlines (AAL  ) gave a bad omen for the travel and leisure sector after the commercial airline disclosed that it will be cutting 19,000 jobs in October after U.S. federal coronavirus pandemic aid expires.

For Sector Performance, industries ended Tuesday's session split as uneven economic data tried to balance itself against improving market sentiment. The performance gainers were Communication Services +0.97%, Health Care +0.70%, Consumer Discretionary +0.53%, Information Technology +0.525, Real Estate +0.31% and Financials +0.27%. The performance losers were Energy -1.42%, Utilities -0.92%, Materials -0.32%, Consumer Staples -0.13%, Industrials -0.09%.

For Commodities and Currency, the U.S. Dollar (UUP  ) dropped on Tuesday as investors looked for direction ahead of Federal Reserve Chairman Jerome Powell speech on the central bank's policy framework review. The dollar's index declined 0.29% against other global currencies. Gold (GLD  ) continued their decline as investment sentiment continues to improve. Spot gold fell 0.6% to $1,920.91 per ounce, while futures settled down 0.8% at $1,923.10 per ounce. Crude oil prices rose despite a dual-hurricane risk in the Gulf coast this week. International benchmark Brent Crude (BNO  ) increased 1.8% to price at $45.96 per barrel, while West Texas Intermediate (USO  ) rose 1.7% to settle at $43.35 per barrel.

For the mid-week, investors will focus on more economic data like weekly mortgage applications and durable goods orders slated to release on Wednesday.