Different snakes act differently. It is not unusual for a ball python who needs to relieve themselves to avoid putting pressure on the back part of the body, rather like you prefer not to put pressure on your tummy when you need to go. Younger ball pythons do it more than adults, in my experience.

I would watch her for a few days, just to be sure her behavior doesn't change for the worse.

Gale