The TikTok ban was overwhelmingly unpopular among several important demographics and undoing the ban formed a part of Trump's 2024 campaign. His decisions with TikTok this year were a reversal from 2020 but entirely expected based on his 2024 campaign, so that's not a valid comparison.