It was a stellar 2024 for stocks, but volatility returned to markets in the final weeks of December and is persisting.