The validity of the social sciences as "real science" has long been in question, long before the concerns of modern day politics. This problem is inherent to these fields, because instead of studying the objective physical world they study literature, history, politics, art, etc. Many social sciences are more accurately called liberal arts in my opinion, and they co-opted the word "science" to lend themselves credibility.
Then on the other hand you have climate science, which does study the objective physical world. The science around this involves collecting data and building models to describe the physical world instead of speculating about the nature of mankind. It is an apples to oranges comparison.
Just to illustrate, forget about climate science and gender studies because they are politically charged. If the above poster had criticized something like the study of French medieval literature and used that to argue that particle physics is a systemically flawed and biased field, I would also call that comparison absurd.