When you lose weight, you lose some muscles which slows down your metabolism. So when you regain weight, you tend to put more fat than muscle which reduces the amount of lean body mass which makes your metabolism slower than what you had before losing weight.