they were rather a race of immaterial creatures who were the direct descendants of the ancient intelligences that once inhabited the surface of mars in the ages before it had lost its oxygen and water .