"confusedly, hurriedly," 1590s, a "vocal gesture" [OED] probably formed from pig and the animal's suggestions of mess and disorder. Reduplications in the h-/p- pattern are common (e.g. hanky-panky, hocus-pocus, hinch(y)-pinch(y), an obsolete children's game, attested from c.1600).