A friend of mine is having similar problems with a snake that she just got. I'm 99.9% positive it's due to the less-than-adequate husbandry.
I would have a look at the care sheet here. It's the best on the web. Make sure everything is spot-on with your set-up, and then we can try to rule out other factors if that doesn't solve the problem.