What does it mean when a duck flaps its wings?

it shows ageresiveness n whos boss