There is an interesting article in Quilette written by an endocrinologist who raises questions about the 'wrong body' paradigm and the way it is used to 'diagnose' children as transgender.
While these claims about gender identity did not attract systematic scrutiny at first, they now have become the subject of criticism from a growing number of scientists, philosophers and health workers. Developmental studies show that young children have only a superficial understanding of sex and gender (at best). For instance, up until age 7, many children often believe that if a boy puts on a dress, he becomes a girl. This gives us reason to doubt whether a coherent concept of gender identity exists at all in young children. To such extent as any such identity may exist, the concept relies on stereotypes that encourage the conflation of gender with sex