Because a child cannot give consent.
I believe that parents (/guardians) have responsibility for the children and that responsibility logically extends to giving consent for choices like this. My mother performed "experiments" on me in conjunction with her master's degree work in education; I was probably 8-10. It was clearly her call; I couldn't give fully informed consent, but there wasn't any risk of physical harm and vanishingly small risk of any possible harm, so I believe her consent by proxy was appropriate.