When photographing wildlife you may have the option of waiting for the right posture, change a angle, or even whole point of view. It’s not easy but you can try.
However, you have no control over the general environment. If the background is mud, the image will be mud.
When a bird chooses an interesting location it’s an added bonus.