Wherever it came from, I suspect a pair of pre-adolescent boys were involved. The teenage sister of one of them had probably spent hours carefully constructing a simple flute to play for her boyfriend, and on a dare, her kid brother grabbed it while she wasn't looking and poked it into some inedible animal part that was discarded before last night's BBQ. The sister subsequently stormed off indignantly, and the brother and his friend from across the street, having now jammed the flute a second time into the stomach or whatever, began daring each other to put their lips on the first hole and try to make air come out of the flute. Eventually, one of them found another hollow stick or reed (most likely a spare that the sister had left behind), and stuck it into the first hole. It took some experimentation, but in the days before mandatory and universal public schools, what else did they have to do? Soon they were happily taking turns to see who could get the loudest sound and work the flute while blowing into the other tube. They eventually took it in the house to show off to the other members of the family, most of whom were utterly disgusted. "You're both horrid! Look what they've done to my flute!" cried the traumatized sister. "That thing's filthy! Go wash your hands this minute!" ordered the conscientious mother. "Hmm, let's take a look at that thing," said the father quietly to himself after the others had left the room.
The bagpipes have always generally been considered a male instrument.