I think it goes back to my high school days. In computer class the first assignment was to write a program to print the first 100 Fibonacci numbers. Instead I wrote a program that would steal passwords of students. My teacher gave me an A.
Invented languages have often been created in tandem with entire invented universes and most conlangers come to their craft by way of fantasy and science fiction.