Landing a spacecraft on the moon has long been a series of hits and misses.