Well like I said before, if you're on a diet, you don't eat a lot and as a result your day to day weight is lower than the weight you'd be at if you were eating enough just to maintain. Similarly, when you eat a lot of food in a short time span, your day to day weight will be higher than your maintenance weight.
With just that, with no scale error, there could easily be a 10 pound weight difference just from food and liquids.
But 22+ pounds? That's some epic discrepancy. I've never seen or heard of that, you must really have been eating a TON of food.