Consider the following scenario

A drought hits the habitat of a semi aquatic bird population, all ponds dry up in fish population decline. There are two groups of birds in the population, that differ leg length and diet Long legged birds, eat fish while short leg birds eat insects. The gout has little effect on insect population.
What is the main selective pressure in the scenario?
Leg length
Drought
Insect population
Fish population

The main selective pressure in this scenario is likely the availability of food sources. With the drought causing the ponds to dry up and the fish population to decline, the birds must adapt their feeding behaviors to survive. The long-legged birds reliant on fish for food may struggle to find enough to eat, while the short-legged birds that eat insects may have a more plentiful food supply. Therefore, the availability of food sources is the main driving force behind the selective pressure in this scenario.