that's fluid settling in
Explained in this MDA/ALS newsletter
What Causes Leg Swelling?
Unfortunately, there’s no "up elevator" in the circulatory system. Blood returning from the feet to the heart has to be pushed and squeezed along like a packet of catsup.
Walking helps this process because muscle contractions compress the veins and force blood up against gravity. A series of one-way valves along the way keeps blood from draining back down.
When walking ceases, it’s harder to get blood back up from the feet. Constant sitting also constricts blood flow by putting pressure on the veins.
As blood pools, the veins expand and water seeps out into the surrounding tissues, causing swelling, or edema. When this happens repeatedly, veins become leaky and water seeps out more easily, causing faster swelling. Meanwhile, the valves bearing the weight of the pooled blood can fail, allowing blood to drain back down. Such valve damage is permanent, leading to more circulatory problems.