Mouth sores can be caused by viruses and illnesses, by injury, by stress and by medications. They may be white, red or pink and can cause pain, swelling, irritability and sometimes even a fever or headache.