Canker sores can be caused by things such as:
Food allergies.
A weakened immune system.
Mouth injury (like biting your tongue or cheek).
Some medicines.
Viruses/bacteria.
Irritation from orthodontic braces.