"Why do kids need to code to learn how a computer works?"
Seriously? You don't need to code to be able to use a computer, in fact keyboard skills are probably more useful but that has nothing to do with understanding how it works.