Courts are weighing whether Meta, Google, and other platforms can be held responsible for algorithm-driven harm to children and teens.