The testimony comes two years after a Capitol Hill hearing where he apologized to families who say their children have been harmed by social media.