K06: Other disorders of gingiva and edentulous alveolar ridge

K06.9: Disorder of gingiva and edentulous alveolar ridge, unspecified

Such a disease can cause the teeth to come loose.