Probably internal parasites - as they seem to be a fairly normal part of their gut flora in the wild. Pits - especially those in your neck of the woods - don't seem to be that affected by temperature swings unless they are extreme.
While they can cope with a background amount of parasites, if they become stressed due to a serious injury or being captured and placed in captivity, the stress can weaken the immune system tot he point where the balance becomes compromised.
How long has the animal been a captive?