This week, the stock market faced a downturn as major indices struggled to maintain momentum. The S&P…