IT's the blood.
A DVT is a clot in one of the major veins of the leg.
This blockages prevents blood from leaving the leg once it enters via the arteries. The pressure within the blocked vein allows fluid to then extrude into the leg itself, causing swelling. It's akin to a clogged drain where fluid builds up behind the blockage.