Partridge (author of a book on slang) thought it might come from pugnare, Latin for fight. It's possible; there seems to be an element of aggression in many of the ways it's used.
I'm good at confusing people gness. I'm like my mother
I remember she went to complain in her local electric board shop that the flat she had just moved into still had no supply of gas!