If you care, you can find the clear rules here: https://en.m.wikipedia.org/wiki/RESTRICT_Act
Impact to the country's critical infrastructure and digital economy,
"Sabotage or subversion" of ICTS in the United States
Interference and manipulation of federal elections
Undermining the democratic process to "steer policy and regulatory decisions in favor of the strategic objectives of a foreign adversary to the detriment of the national security of the United States".
If you decide that "no Chinese social network is allowed", you can create a law for that. But the TikTok ban is not like this.