K06: Other disorders of gingiva and edentulous alveolar ridge

K06.8: Other specified disorders of gingiva and edentulous alveolar ridge

Such a disease can cause the teeth to come loose.