How the stock market’s peculiar psychology explains its reaction to coronavirus