I'd say it was probably a preexisting problem. So, like others have mentioned, I'd stay in contact with the breeder.
In my experience, I've found ball pythons to be pretty hardy animals when given the proper conditions to thrive.
Also, quarintine and see the vet.