Officials attributed the deaths of three children to viral challenges posted on the social media app.