Tom Ford explains in this video that if a child questions their gender identity, it is a result of sin and sinful influences. As man has rejected God, man has also rejected the genders and order that God has established. Gender identity and roles are given by God.
Genesis 1:27 (NKJV) - "So God created man in His own image; in the image of God He created him; male and female He created them."
If a child questions their gender identity, I would say that that's not the problem. It's a result of the problem, and the problem is a much greater problem. How does a child come to that point of questioning their gender identity unless they've been exposed to something else, somebody else who's luring them away and talking to them? In society, where it comes from is really the wrath of God, and the wrath of God is being revealed against mankind because they have rejected God as a creator. The scripture says that God can be plainly seen through his eternal power and divine nature.
That's what can be be seen in creation in his general goodness. And as God, as man has rejected God, as creator, he's also rejected the roles of men and women. God created them male and female, he created them in his own image. And when we reject the Creator, we reject that order that He's put there in male and female. For this reason, a man will leave his mother and father and be united to his wife, and they shall become one, and they shall be fruitful and multiply and fill the earth and subdue it.
So we see gender identity and roles given by the creator God. And we see the purpose in that, that there would be marriage and a union. And from that union, there would be children and many children and then together they would take dominion over the earth and what our society has done is turn that all upside down. You