the.com/cock

A cock is an adult male chicken, known for crowing at dawn.

means A male chicken, or by extension any stopcock, tap handle, or trigger-mechanism part shaped like one — plus the slang sense everyone's actually thinking of.

from From Old English 'cocc,' almost certainly echoic — imitating the bird's own crowing cry, like many words for roosters across unrelated languages. The faucet/tap sense grew naturally from the rooster's strutting, spigot-like profile and its role as the lever you turn to let something flow (hence 'stopcock' and 'cock the gun,' from pulling back a part that juts out like a rooster's head). The slang sense arrived later, riding on the same jutting, cocky silhouette — a bit of linguistic innuendo so old it's practically barnyard folklore in its own right.

original meaning
old english for rooster, used since before 1000 ad
weapon sense
to cock a gun cocks like a rooster's strut
faucet use
brits still call a tap a stopcock, no snickering allowed
euphemism age
slang sense documented as early as the 1600s
the.com · every word