Bird here means middle finger! So to give the bird means the same thing as to give/flip the [middle] finger.
Ex: He gave the bird to the driver that cut him off.
Ex: I got in trouble with my teacher for flipping the bird to a classmate.