Early TikTok was basically a standard Chinese startup in terms of how they collected data to optimize the app... It's not because they cared about what "you" are doing.
The Chinese tech ecosystem is just more competitive than the US one.
Most social media companies have been careless with data until they got public backlash though... TikTok's systems are probably more secure today than anyone else's... Because of the backlash.