This type of behavior is either related to husbandry, the animal is stressed because your husbandry is not meeting it's needs, or it is feeding related, the animal is not fed enough.