(And let's be clear: Operation Warp Speed was an enormous success even if Trump is an ignoramus)
Some of that might have been expediency — Biden was catching shit from the antivax and healthcare-skeptical movement and moving in on that would be easy — but Trump has always been vulnerable to being influenced by people and RFK Jr appears to be generally so much more persuasive than bears thinking about, so he was a factor later on.
Trump #2 (47) is fully an anti-vax presidency; even Hegseth backed away from flu vaccine mandates, only to have an outbreak in an Army (IIRC?) facility.