In the old times: social control narratives. Now: the same social control narratives, especially the ones targetting kids (and also for big babies).
BTW, I'm a fan of folk stories but it's also obvious when reading their collections how they have been altered for specific audiences and narratives over time. Here we have more of the same, someone who wants to twist one to promote fear about the LGBTQ and men in general. Noah was adapted for monotheism from Utnapishtim too...
I have Grimm collections and when reading them it's interesting the analysis I can make, after having been subjected to that kind of control growing up, then gradually escaping it.
Just an interesting factoid for other fans: Asterix is the result of a previously intended adaptation of Roman de Renart (Reynard the Fox). There are parts of the latter that I appreciated because of its sarcasm in relation to its very Catholic epoch.