The storyFrom gnarl (“knot in wood”) + -y. The slang senses were particularly popularized by US surf culture in the 1970s.Etymology from Wiktionary, CC BY-SA 4.0.