There are several things that it could be:
-the cage is too small
-the cage is too crowded
-the perches in the cage are too close to the sides of the cage