The quote you posted is about if the exclusion of platforms "whose primary purpose is to allow users to post product reviews, business reviews, or travel information and reviews" means the law is content-based, but the Court is saying that provision is irrelevant because TikTok brought an "as-applied" challenge (and not a facial one) [0] and that provision doesn't change how it applies to them. So they are looking at the parts of the law (and the congressional record supporting them) which actually cause TikTok to be subject to the qualified divestiture.
Right, I'm saying they based it on on the "text" of the law, instead of the motivation.
At what point in the ruling did they wonder what motivated the effective ban? "5 why's" it, so to speak. Did they ever say, "because X, Y, and Z, it is clear the intent of the law is not to prevent speech of certain parties"?