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.