Coercion, through mandatory-attendance laws, ensures a steady stream of involuntary customers. And coercion, through taxation, ensures a steady stream of involuntary income. It doesn't matter whether the child is emotionally prepared to leave his family environment. The professed aim is to create responsible, educated citizens who will later be able to take their proper place in society. Every person is created different.
Some children respond well to the system of educational coercion.
Others have a more difficult time, but ultimately adjust and survive the ordeal. Let's assume that he gets bored and distracted sitting in a hard wooden chair for hours on end, listening to some government schoolteacher drone on about subjects about which he knows very little. If the child would prefer to steep himself in a particular area that interests him, he is nevertheless required to continue changing subjects at the ring of the bell. He finds all of this boring and distracting, picks himself out of his chair, and begins walking around the classroom. In the eyes of the schoolteacher, principal, and school counselor, something is definitely wrong with this kid.