Lake Magadi is a swallow water body full of soda and other minerals making the waters rich in algae and small fish. The abundance of those resources are in turn feeding the thousands of water birds traversing the shores.
Optimal living conditions for Egrets are in the waters between the mangrove roots that sticks out of the water. Those swampy waters are normally brimming with small critters and fish. Ideal hunting grounds.