The S&P 500 gave up an early gain to finish down 0.4%. The benchmark index, which set 57 record highs in 2024, racked up a 23 ...