I suspect it's the Lochia. After giving birth a woman has a LOT of fluid to get rid of in only a short amount of time. I never had a cesarean, but I suspect it's similar to vaginal birth in that your body needs to slough off the fluids that held the placenta. That usually takes place over the few weeks following giving birth.
Pretty much, yeah. And add all the IV fluids to the natural fluids the woman's body has already been holding on to. Makes for an uncomfortable two weeks while the swelling works itself out again! (As mentioned above, I could only bend my knees about halfway before the swelling in my legs came together and prevented further movement. I needed a step stool to get into my own bed at home!)