Because banning things only makes them more powerful… If a country bans bitcoin, then it’s putting all of it’s citizens at a global disadvantage vs other countries. There is no practical way to enforce a ban of bitcoin. You can run a node over TOR.
It’s the same concept of banning AI. Sure, a few people would stop, but the rest of the world will continue development.