New York is trying to restrict algorithms that target young users on social media platforms, introducing two new bills that are designed to protect children's mental health.