Rebekah Willett, a professor at the University of Wisconsin at Madison who studies children and media, said she often hears from parents whose children run into upsetting content that’s recommended by YouTube’s algorithm. (One child, she said, looked up baby animal videos, which led to videos of animals giving birth, which led to videos of humans giving birth.)