A scientist is studying the structural adaptations that occurred in a particular horse species over time. For several generations, the horses tended to have smaller teeth and longer toes. Then, there was a shift in the fossil record, and the horses tended to have larger teeth and shorter toes. What is the most likely cause for this shift in the horses' anatomy?