Rather they are engineered to maximise time on platform. Hate is also a very powerful emotion for that, which is why those feeds often show you stuff to make you mad (don’t know if that’s the case for TikTok, though).