The stock market is about future expectations. As soon as you know that, the last year makes perfect sense. Oh no, a plague = crash. Oh wait, it will be shitty for 6 to 24 months but actually not that bad and people are still buying stuff just as much as before = Boom.