Conversation so far:
how did the lyrics get written?
The song's lyrics do not tell a conventional story, and may instead been seen as a collection of cultural references, images and ideas.

Question: who wrote the lyrics?
Self-contained rewrite: Who wrote the Lyrics to the song Man on the Moon?