>Then why force them to sell to a US company specifically. Why wasn't Germany or any EU company with strong privacy laws allowed to buy them?
There is no one outside the US with both the tech skills and the cash to buy something the size of TikTok. Heck, there are very few in the US (adding the third requirement of no antitrust concerns).
If TikTok were a Canadian, British, French, German, Korean, Japanese, or Taiwanese company, the US government wouldn't have intervened in the first place.