The story
Probably from hoit (“to behave frivolously and thoughtlessly; to play the fool”) + -y (suffix forming adjectives with the sense ‘having the quality of’), reduplicated with a change of the initial consonant. The noun is attested earlier than the adjective.
Etymology from Wiktionary, CC BY-SA 4.0.