Diseases that interfere with the body’s immune system may worsen the condition of the gums.