Yes, Texas legislators passed a virtue signaling law to do so, but it was blocked immediately. there is also a big gap between what laws are passed and the realistic chance of your child being taken away when the system actually confronts families.
The lunacy of today's synthetic sex identity movement aside, what did you imagine, that the Texas state government would take these kids out back and shoot them?
Which is the whole point. They're better off with proper treatment than without. Anti-trans activists don't care about kids' welfare, they just want them to conform at any cost.
https://www.jahonline.org/article/S1054-139X(21)00568-1/full...
https://jamanetwork.com/journals/jamasurgery/fullarticle/277...
https://www.hcplive.com/view/suicide-risk-reduces-73-transge...
What are you even trying to do, here?
https://www.frontiersin.org/articles/10.3389/fpsyg.2015.0062...
We certainly know that people who identify as transgender are at higher risk of suicide than the broader population.
Edit: BTW, there are mountains of evidence showing far better life outcomes for trans kids and adults who receive gender-affirming treatment, with or without surgery. If you actually care about the welfare of trans kids, you should educate yourself and stop listening to lying bigots.