In both stories, a moral is provided at the end so that the reader cannot miss the point. In both stories, the narrative of what happens to an innocent or foolish female is illustrated through a life-threatening tale.
In Perrault's "Little Red Riding Hood," the beloved and pampered Little Red Riding Hood is sent to bring her sick grandmother a basket filled with cake and butter. On the way, she meets a wolf and is unduly trusting of this stranger, telling him where she is going and why. He decides to race her there and arrives well ahead of her, eating the grandmother and then her. The moral of the story is to beware of confiding in smooth-talking strangers. Perrault states:
Children, especially attractive, well bred young ladies, should never talk to strangers.
In "Bluebeard," Bluebeard's young wife does what she is forbidden and opens a room she is not supposed to enter, finding the bloody corpses of his former wives. Bluebeard is about to behead her with his sword when her brothers arrive in the nick of time and kill Bluebeard instead. The moral of this story, as stated by Perrault, is not to be too curious. As he puts it, "Curiosity ... often leads to great regret."
The stories are aimed at a female audience and concern regulating behavior to conform to male power.