Science is not apolitical. Researcher bias is real and there are many instances where racist, homophobic, and misogynistic scientists have slanted data (often subconsciously) due to their worldview and bigots use this to justify their hatred. Science is an impressive tool for understanding the world but any tool can be misused and being a scientist does not automatically immunize someone against their internal biases or the prejudices that exist in their societal milieu.