Digesting food, sometimes something may scare it or frieghten it to where it will shrivel up to protect itself, or may hide in a cave or dark corner. Mine does this from time to time, mostly when the lights go off.
If it is doing this at night don't worry, but if it is doing this during the day look around to see if soemthing is nipping at it.