The storyFrom a supposed resemblance of the penis to a snake.Etymology from Wiktionary, CC BY-SA 4.0.