So much of school is socialization with other human beings. Beyond academics, children need to experience being in a group and learning about how people are supposed to interact with each other. And most of this is not explicitly taught, but acquired through trial and error and simple monkey-see, monkey-do. You can't get that level of interaction and fidelity online.