Sounds like husbandry is wrong, yep. First, ambient temps should be about 80, with a 90F warm spot on one side of the tank. Hot rocks are very hazardous and should never be used. The manufacturers actually state that they are not to be used for snakes at all. Remove the hot rock immediately, and replace it with an undertank heater or radiant heat panel.
The humidity inside the cage should be 60% to 80% at all times. Lower humidity can cause respiratory infections. Bedding should be completely dry. Damp bedding or wet conditions can cause skin infections. If you have a screen top, covering most of it with plastic can help trap humidity inside.
Make sure the snake has a small, tight hide. A log is usually too open, though some ball pythons will tolerate them.
Do not handle the snake the day you are going to feed it. Leave it alone entirely. Place the food item in its cage without disturbing it.
In many cases, just lifting the log and handling the snake will be enough to prevent it from eating that day! Ball pythons are very shy animals, and they find handling stressful. Handle them no less than 2 days after they eat, and stop handling the day they are due to eat. This way you will get them used to handling without interfering with their feeding or digestion.