The most logical inference you can make about why finches have adapted different beak sizes and shapes is:
They eat different foods.
This adaptation allows them to utilize different food sources available in their environment, enhancing their chances of survival and reproduction. Variations in beak size and shape can significantly impact a finch's feeding efficiency based on the types of food they consume.