As far as i understand it, he first made a new language for nerd fun as a literature academic, and then later he created a world to justify the existance of said language.
Many such cases, like people creating an alien setting or a magic system and then writing a story that takes place there...