When adults forcibly imprisoned them. When parents who refused to imprison their children were criminalized.
Do not dare to blame children for staying home, or for the unhealthy results of isolation, obesity, and nature deficit disorder that follow. Adults did it to them. Blame the adults.
Free the children. They can be so much more than they're allowed to be anymore.