Answer:
Birds will eat different foods based on their environments, and other physical factors.
Step-by-step explanation:
Birds will eat different things depending on what is the most available in the environment. If there is a lot of fruit, they'll prefer that over bugs and worms. If there is a lot of bugs, they probably will go for those instead of the one or two pieces of fruit.
Physical factors weigh in as well. Birds' beaks can change over many generations to better suit the consumption of certain types of food. HUmmingbirds have long thin beaks so they can get nectar inside of flowers, and they might have a hard time eating a large fruit. Similiarly, other kinds of birds are better adapted to eating certain kinds of food too.
I hope this helps