The difference is that USA is using its social networks for many years already to overthrow governments in multiple countries by organizing protests, and that's why some countries started to ban them.
Tiktok is getting banned because USA is afraid, that China is gonna use it against USA the same way.