Two plaintiffs alleged that Meta and Snap designed their social media platforms to foster addictive behavior.