The timeline of the election coincides with the development of the vaccines.
Moderna reported positive phase 3 trial results in November 2020. FDA’s review was completed in December and an emergency authorization was granted. The full trial results were published in medical journals a few months later, around the same time as Biden entered office.
So maybe it had nothing to do with Trump/Biden and simply was a reaction by YouTube to the proven efficacy of the new vaccines.