Texas politicians determined to gin up their base by using the state to criminalize gender-affirming care for transgender children were dealt two setbacks in court.