 His companion has been completely digested.The Doctor links to the Memory and discovers that it was created by the corporations who created the crabs to fight in their war, and since the corporations abandoned the planet it has been being eaten by the local marine life.It reached out for Peri, desperate for a personality to hold itself together.