Two things do most of the work. First, immersion — modern games look and sound convincing enough that children feel like they are inside the world rather than watching it.
Second, the pacing. Games deliver a steady stream of stimulation and challenge, always with something new a few seconds away and a goal just within reach. That combination is hard for any other medium to match.