Defending trans people is obviously morally just and ethical. Beyond that it is tactically the correct thing to do because the GOP is going to say the same thing about Democrats no matter what. Politicians can either respond with a self-destructive and awful 'well my opponent has some points' or make the strong and correct point: 'look at this hateful shit'