Stocks closed marginally lower on Tuesday, taking a breather after posting strong gains to start off June.
The Dow Jones Industrial Average ended the day down 14.17 points at 26,048.51, erasing a gain of 185.99 points. The S&P 500 slipped less than 0.1% to 2,885.72 while the Nasdaq Composite finished just below breakeven at 7,822.57. The industrials sector was the biggest laggard in the S&P 500, dropping 0.9% as Raytheon shares declined by 5.1%.
The Dow also snapped a six-day winning streak. However, the S&P 500 remained around 2.4% below an intraday record.
"At this point, a failure to break out to new highs would be viewed as negative. The month is only a week and a half old, but we've got a head of steam now. We're seeing evidence of more individual stocks in the S&P 500 making new highs. There's a bit of an expectation the S&P 500 might be able to test those levels we saw in April," said Willie Delwiche, investment strategist at Baird.
"The potential headwind to that is what happens with sentiment. Sentiment turned so negative in May and now, as stock rebound in June, we're seeing pessimism being replaced with optimism. If it comes in too fast, that can shift from being a tailwind for stocks to a headwind," Delwiche said.
Stocks jumped to start the day as a resolution between Mexico and the U.S. to avoid tariffs and hopes of lower interest rates from the Federal Reserve lifted investor sentiment.
President Donald Trump said Friday that a 5% levy all Mexican imports into the U.S. would be suspended indefinitely. He added he had "full confidence" in Mexico's ability to crack down on immigration from Central America.
Global stocks rose after Chinese state news agency Xinhua said the country would let local governments use bonds to finance infrastructure projects. The Shanghai Composite jumped 2.6% overnight, while the Stoxx 600 index in Europe gained 0.7%.
Market expectations for lower rates by July sat around 78%, according to the CME Group's FedWatch tool. Investors are also pricing in a 97.1% chance of lower rates by December, according to FedWatch.
These forecasts have been rising amid weakening U.S. economic data. Monthly jobs growth slowed to 75,000 in May, missing an estimate of 180,000. Meanwhile, manufacturing activity in the U.S. grew at its slowest pace since 2016.
Stocks are on pace for sharp monthly gains after a strong decline in May. The major indexes are all up nearly 5%. In May, the Dow and S&P 500 dropped more than 6% each while the Nasdaq slid nearly 8%.
"The pendulum has swung significantly in the other direction," said Art Hogan, chief market strategist at National Securities. "We spent six weeks grinding lower and now we're spending seven days popping higher."
"It feels like we went from despair to exuberance in too short of a period of time without much changing in terms of facts. I'd like to see some stabilization here," he said.
—CNBC's Silvia Amaro contributed to this report.
Correction: President Donald Trump announced Friday that he would indefinitely suspend planned tariffs against Mexico. A previous version of this story misstated the timing of the president's announcement.