One of the major tropes across the science fiction and fantasy genres is building out a world's linguistics. If the story takes place in a fantastical realm filled with places and people that don't exist in the real world, then it only makes sense that the languages they speak are also a creation of the story.