If you have two ball pythons in a single 40 gallon breeder.....I would have to say that is the main issue. One snake per enclosure for optimum health.

What are your temperatures and humidity?