The medication could certainly explain the weight gain, but only if she was wrapping each pill in a donut before swallowing it. There are pills that will increase or decrease one's appetite, but there's no pill that overcomes the laws of thermodynamics regardless of what the diet industry claims.