The storyFrom mad + child, by analogy to madman and madwoman.Etymology from Wiktionary, CC BY-SA 4.0.