A mouth sore can occur due to several reasons. It can be an outcome of food sensitivities, nutritional deficiencies or an allergic reaction to certain bacteria in your mouth. However, if the symptoms are persistent or get worse, it could indicate something more dangerous and life-threatening like a mouth cancer.