My experience:

Snake puberty, as I call it, occurs around 1000g, they tend to go off eating for a while and then go back to it.

Breeding season: A lot of males stop eating, my own female stops for a loooong time (december through as late as august)

Random: Other reasons such as stress, temperature, being well fed, etc will just randomly cause ball pythons to stop eating at any given time.