What is the origin of non-natural grammatical genders in Indo-European languages? (assuming that there is a single origin, if there are many, what are they)  How and for what purpose did it develop? At a glance, there doesn't seem to be a point in differentiating the inflection for adjectives and verbs related to the moon and the sun, for example.