What happened when the moon 'turned itself inside out' billions of years ago?