Whether they believe in God doesn't have to be part of the equation though. You can believe in God and also in trans rights and science and everything.
It's possible but somewhat rare. I've met religious research scientists before, but in general principles of faith and the scientific method are at odds with each other.