"Gingivitis is also caused by the body's oral immune system reacting to the plaque bacteria on the teeth." If your dog's gums are other colors, that can also be indicative of additional health problems.
"If the gums are pale or white, that could be a sign of anemia.