It could be due to worms, but if it doesn't go away after a day or so, I would definitely schedule a vet appointment.