In other words, there's a chance that some kids may not be "really" trans, but rather attention-seeking or mentally ill. And for those kids, transitioning would, in fact, be harmful in the long run.
Do we, as a society, have an obligation to prevent these children and young adults from harming themselves in this way?
I don't have a firm answer because it's a difficult and emotional subject, but I think it's extreme to pretend this is not an issue, and equally extreme to encourage kids for whom it might not be safe to transition.
Perhaps the informal controls we have in place prior to gender reassignment surgery are already adequate to filter out these vulnerable kids. Perhaps there are other interventions I'm not aware of that are already in use. But I don't see the harm in discussing and exploring whether there is a proportion of the trans population that is, in fact, suffering from social or mental illness and not actually a more innate form of gender dysphoria.