Because they can happen from many different things. Try to eliminate bacteria from your mouth by using a tongue cleaner and rinsing your mouth. Stay away from acidity foods. Oranges, tomatoes and use less diary products for a while.
Mouth ulcers can have a number of causes, from allergic reactions to the herpes virus. And applied treatments are washed away by saliva, which is hard to mitigate.
Mouth ulcers, while painful, generally heal up fairly quickly on their own. They should be gone within a week. You can speed healing by gargling with warm salty water.
There is no cure because one has not been found. Although there are several ways to treat the area that is affected with home remedies and medicine found at your local pharmacy.