He may have gum disease. Or a tooth that is abscessed. Take him to the vet to get his teeth cleaned and the vet can prescribe an antibiotic for him his mouth probably hurts due to the infection and abscess. After these clear up he will eat better again