Could be a lot of things. UTI, worms, and fleas or any number of larger issues. Anytime weightloss is involved though a vet appointment is needed. They don't lose a significant amount of weight usually without an underlying problem that will need in the least a fecal test and a blood test.
_________________