I can't say for sure why, and neither can anyone else without seeing it and knowing a lot more. This could be from several things.
If it is from an infection, and it could be, you will want to see a vet right away. Since this is a at least a possibility, I recommend you do find medical help as soon as possible.