"small stroke or point in writing," late 14c. (Wyclif, in Matthew v.18), translating Latin apex in Late Latin sense of "accent mark over a vowel," which itself translates Greek keraia (literally "a little horn"), used by the Greek grammarians of the accents and diacritical points, in this case a Biblical translation of Hebrew qots, literally "thorn, prick," used of the little lines and projections by which the Hebrew letters of similar form differ from one another.
Wyclif's word is borrowed from a specialized sense of Latin titulus (see title (n.)), which was used in Medieval Latin (and in Middle English and Old French) to indicate "a stroke over an abridged word to indicate letters missing" (and compare Provençal titule "the dot over -i-").
As apex was used by the Latin grammarians for the accent or mark over a long vowel, titulus and apex became to some extent synonymous; hence Wyclif's use of titil, titel to render L. apex [OED]
Compare tilde, which is the Spanish form of the same word.
"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 (as in hanky-panky, hocus-pocus, hinch(y)-pinch(y), an obsolete children's game, attested from c. 1600).
Edward Moor, "Suffolk Words and Phrases" (London, 1823), quotes a list of "conceited rhyming words or reduplications" from the 1768 edition of John Ray's "Collection of English Words Not Generally Used," all said to "signify any confusion or mixture;" the list has higgledy-piggledy, hurly-burly, hodge-podge, mingle-mangle, arsy-versy, kim-kam, hub-bub, crawly-mauly, and hab-nab. "To which he might have added," Moor writes, crincum-crankum, crinkle-crankle, flim-flam, fiddle-faddle, gibble-gabble, harum-scarum, helter-skelter, hiccup-suickup, hocus-pocus, hotch-potch, hugger-mugger, humdrum, hum-strum, hurry-scurry, jibber-jabber, prittle-prattle, shilly-shally, tittle-tattle, and topsy-turvy. Many of these date to the 16th century.