The story
# Of onomatopoeic origin, this word originated in the 1930s, along with its variants ("unga bunga"), and established itself by the 1950s as a "sarcastic or fearful imitation of foreign languages", with the present being the place wherein it split into its many senses.
Etymology from Wiktionary, CC BY-SA 4.0.