The story
From earlier hickop, alteration of earlier hicket, hyckock, from hic (onomatopoeic) + -ock (diminutive suffix). Akin to Scots hick, hix (“hiccup”), West Frisian hik (“hiccup”), Dutch hik (“hiccup”), Middle Low German hükup, huckup, hueckup (modern Low German hick (“hiccup”)), German hicksen (“to hiccup”, verb), Alemannic German Hidsgi (“hiccup”), Danish hikke (“hiccup”), Swedish hicka (“hiccup”), hicka (“to hiccup”, verb), Icelandic hiksti (“hiccup”). Displaced yex, from Middle English yexen, ȝisken, ȝixen, ȝoxen (“to hiccup”), from Old English ġiscian, ġeocsian (“to hiccup”). The double c in the spelling (as opposed to ck) is a remnant of the unetymological hiccough spelling.
Etymology from Wiktionary, CC BY-SA 4.0.