The story
From appall + -ment. This word is likely a nonce; Oliver Wendell Holmes claimed to have coined it, but there are uses that predate Holmes and others that are unlikely to have picked it up from his use.
Etymology from Wiktionary, CC BY-SA 4.0.