> Seems more of a subversion of joke structures than a lack of understanding.
Yeah it can be unintentionally funny in that way but children definitely aren't trying to do that. They just don't understand how jokes work.