ByteDance hasn’t wanted to sell it. And they were obviously hoping for the courts to preclude them from having to.
They might still not sell it.
That’s not the point. It was given tons of chances to either change its policies around data collection and privacy and hasn’t. It was then told it needed to sell.
A corporate strategy based on assuming you are going to win a legal battle is a terrible strategy.