Consider a hypothetical population of a species of bird, Avioris minor, that is found on a remote island. Over thousands of generations, this bird has developed distinct variations in beak size and shape due to adaptations to different food sources available in its environment, such as seeds and insects. According to Darwinian evolutionary theory, which mechanism is primarily responsible for these adaptations?