If TikTok were sold to an American company, as the new law demands, why would that change anything about the amount of pro-Palestinian content? Just because the ADL said they don't like TikTok does not mean that's the motivation for the bill. You're still allowed to criticize Israel as much as you were a decade ago (which is to say, less than you're allowed to criticize the US, for some reason ;) but still).
Because a sale is and has always been impossible since it would be an unacceptable embarrassment for China in the current climate. The divestiture is just a way to make the ban pass muster.
Thats a good reason why it's banned. China cannot sell. TikTok is under the strong control of their government, and so won't sell despite loosing an stupefying amount of revenue by doing so.
X may be the one exception, though I note that the "advertiser boycott" was ended when Musk made trips to Israel, was photographed next Netanyahu's atrocity propaganda prop pieces, next to Ben Shapiro, etc.
Musk first posted an antisemitic tweet, which caused a minor scandal. Then, to atone for that, he traveled to Israel, met with Netanyahu, and had Twitter begin boosting pro-Israeli content.
Musk went from antisemite to Israel fan in the course of just a few days. This actually isn't so surprising, though. There are many people who are both antisemitic and pro-Israel (see basically every far-right party in Europe, for example).