Most of the criticism I've seen covers two factors:
1. It only made perhaps a little dent, as it'd spread far past China already. Trump is dramatically exaggerating its effectiveness in an attempt to distract from how feckless the overall response was.
2. It was implemented in a rather silly fashion. Instead of actually banning travel from China, we permitted US citizens to come back with minimal screening to spread it here.
https://www.factcheck.org/2020/03/the-facts-on-trumps-travel...