How long have you had her? Sometimes if the temps are off it can cause an upset tummy. It happened with my new little one, she was fine after that day and she finally ate a couple of days later, she had been a new arrival and this happened the first day we had her.
There could be other reasons that I'm not aware of right now, hopefully someone with more experience in that area will chime in and help.