1 Blood clot in the leg: A blood clot is a clump of blood that’s in a solid state. When a blood clot forms in a vein of the leg, it can impair blood flow, leading to swelling and discomfort.  Injury or infection: An injury or infection affecting the foot, leg, or ankle results in increased blood flow to the area.