On the Origins of Human Cognition