It was split in two.
1. Calling it "the china virus", as the former president was wont to do, was labelled racist/bigoted/nationalistic by those who did not simply agree with anything he said.
2. The claim that it originated in the Wuhan lab was viewed as unlikely, and there was (is) an alternative biological origin story which at the time seemed credible and more likely.
I'm surprised you didn't get this memo by now, but Spain gained that ignominy only by being the sole country to not apply censorship regarding the topic at the time ("Land of the Free" included).
It's utter nonsensical bullshit like this that made us collectively move away from naming diseases after countries.