The story
Uncertain. Likely from hare (“harass, harry”) 'em (“them”) and scare 'em (“frighten them”); alternately the first element may be from hare (“rabbit-like animals”), or the second element may be a variant of stare. Attested from the late 17th century. Compare English willy-nilly of the same meaning.
Etymology from Wiktionary, CC BY-SA 4.0.