In the same way that evolution by natural selection can produce purposeful designs without an intelligent designer to prefigure the purpose, so animals can show behavior that evolved to be purposeful but is not psychologically motivated.
WSJ: Matt Ridley on what a Rat Rescue Says About People | Mind & Matter