The case is part of a broader global backlash against social media companies over alleged harms to children and teens, though the tech firms deny the allegations.