Animal minds Evolution Intelligent Design

Does evolution help us understand why some species in the same genus are significantly smarter than others?

One could simply say, “Evolving more intelligence helped the animal to survive.” The trouble with that explanation is, many free-roaming life forms would probably survive more readily if they were more intelligent. But they do not develop greater intelligence on that account. There must be more to the story.