From hitting dozens of all-time highs to millions of homes sold in 2024, here's what happened to the stock market.