Subrahmanyan’s comments quickly sparked widespread criticism on social media.