When you stop eating in a deficit you re-gain water and glycogen that your body doesn’t hold when you are in a sustained deficit. It’s the same water weight that is the cause of the initial big drop when people first start losing. This is why it’s a good rule of thumb to overshoot your goal weight by about 5 lbs before going back to eating at maintenance.