My bet would be that he heard a child singing the first line, found it very evocative, and elaborated. I am a little reminded of my son at three or so going through a period when he occasionally remarked out of the blue, "Trees are like houses." I don't think he was quoting anything.
no subject