From a historic standpoint, rights are peacetime luxuries.
The US sees China as an existential threat and TikTok is one of its key weapons. Tiktok is getting banned for the same reason Cuba can't have nukes. It's a national security concern.
I don't endorse it. But I understand it.
America blundered in the 80s by allowing technology transfer to then and still hostile foreign power. It has woken up to its stupidity 45 years too late. But better late than never.
It's not fair.....but love and war Yada yada.