Do you know what solitary confinement is? It’s putting someone in a cell, likely without furniture, for lengthy periods of time (discounting an hour of exercise by themselves). The light never turns off. There is absolutely no stimulation whatsoever allowed. Other prisoners yell through the air ducts in the hopes that someone will yell back.
That environment is torture for an adult. This is a 10-year-old child.