The litigation alleges their algorithms are deliberately designed to prey on teenagers.