The text is a play on the biblical context where Adam, being the first man, would not know what a headache is, as it is a common human ailment. It humorously implies that before Eve's creation, Adam would have no concept of a headache, possibly suggesting that Eve's presence or the complexity of life after her creation might be the cause of such ailments. This relies on the situational irony rather than a play on words or similar-sounding words.
And Adam asked , " What ' s a Headache ? "