Question: why do you gain weight before you lose it?
Answer: Muscle is more dense than fat, but it takes up less space. That means if you gain muscle, your scale weight may go up even as you're losing body fat. If you've been working out regularly, it's possible for you to lose inches even if you're not losing weight.