How War and Geopolitical Shocks Shape Stock Markets