At least 26 states have adopted laws restricting or banning such care for minors, and most of those states face lawsuits.