Eagles adapt to their habitats by food. Eagles mostly travel to different places because of food. If eagles are located in one place and they are given with food. They will somehow adapt to it because of food. Mostly eagles that are trapped only in one habitat that has food will most likely be comfortable there and stay there. That is why eagle adapts to their habitats.
Hope this helps =)