Dozens of states took action against Meta, the company that owns Facebook and Instagram, for allegedly harming young people's mental health.