She may have gotten startled or maybe she is hungry and you got the feed response. Luckily ball python bites don't really hurt that much.