Transgender children and parental responsibility

Gender dysphoria is a medically recognized condition where a child’s subjectively felt identity and gender are not the same as the gender/biological sex they were born. Why is the Family Court involved?