Why did I gain so much weight?

I just got back from camping yesterday and I wasn’t watching what I was eating at all. I weighed myself today and I have gained 9 pounds in the 3 days I was gone. Is this even possible? I wasn’t eating healthy at all but I’m confused on how I gained 9 pounds in such a short amount of time.