Social media algorithms can exploit weaknesses in our bodies and minds, presenting a threat for which evolution hasn't prepared us.
The kids like it exactly because it's dangerous and can make them feel older and "cool". Ultimately, the powerful, data-driven algorithm discovered that and showed the video, among certainly others, to optimize some engagement metric for the poor little girl.