You are only telling half of the story. When all markets crashed around the world at the beginning of the pandemic, Bitcoin also crashed if I recall that correctly. Then against all expectations all markets around the world made record breaking profits on a daily basis up to the point where they broke ATHs despite the pandemic spreading further at full pace. That is when Bitcoin also went up again.
it's not how i think things happened, as i remember when things started going well for bitcoin and crypto in general during the pandemic, and other markets were going down maybe because investors were afraid that banks can get negatively affected by some political decisions which led them to a decentralized market which is crypto to invest in.
When the pandemic officially was called out and actually broke out, meaning infection numbers went through the roof, Bitcoin went from $9,000 to below $5,000. That to me is a real crash. All other markets did the same. Afterwards things started to slowly recover when helicopter money was promised and paid and much more. Along with all other markets, Bitcoin also increased. Bitcoin wasn't particularly different from any other markets and if you ask me that is typical for any asset unless it is stock in pharmaceutical companies. During a crisis like a pandemic you have other stuff to resolve than pushing up the BTC price.