The story
Imitative reduplication. Introduced in 2001 by the American cartoon South Park in the episode “Osama bin Laden Has Farty Pants” and further popularized by the puppet-animated movie Team America: World Police (2004).
Etymology from Wiktionary, CC BY-SA 4.0.