KSA used Pegasus to spy on and murder an american journalist. They're also a major shareholder of twitter.
I don’t believe TikTok and Pegasus belong in the same category.
Regarding Twitter, only Elon can answer how much of American’s Twitter data is flowing through KSA, though I believe it’s zero.
Edit: I’m fully behind any moves to ban Pegasus.