I found out she had arthritis a month ago and i’ve been giving her medicine for it since then, could that be causing weight gain?

My cousin came over today and said my cat felt and looked heavier and asked if she gained weight.