Most common reason is gum disease
(bacterial infection), although there are other possible causes.
See your Dentist. If caught early gum disease is readily treatable. If more advanced, the services of a specialist Periodontist may be advisable. If cause is medical rather than dental your Dentist will refer you on to your Physician for care.