Investors have gotten a crash course in stock market volatility so far in 2026.