Stock-market investors now fear recession more than inflation. Here’s why.