Aphthous ulcers at times occur secondary to celiac diseases, Crohn’s disease, Behcet’s disease, inflammatory bowel diseases, diabetes, and HIV (human immunodeficiency virus) infection.