I believe the core issue is just about agency: kids will enjoy and learn from anything and everything if they don't feel forced to do so. The best way to absolutely ruin a book? Make it a required reading in school. The best way to make a totally crap game that is neither fun nor educating? Make an educational game.
If you want to kids to learn and have fun at the same time, you have to accept the model of "entertainment first, education incidental" as opposed to "education in game's clothes". But that's hard to do because people assume, probably based on their own experience in the crappy school system, that learning must be about hard work. Yes, learning involves a lot of work, but it's not hard if you find it fun.