The stock market is riskier and more volatile than it was in past decades. Here’s why.