The storyFrom earlier agastment, equivalent to aghast + -ment.Etymology from Wiktionary, CC BY-SA 4.0.