You might enjoy this: https://www.jamisbuck.org/mazes/. The section headers link to his (IMO really excellent) articles about maze generation algorithms, plus there’s a more comprehensive book you can buy.
(I doubt kid’s mazes are made using these precise algorithms, but either way they’re interesting!)