The most likely reason for it is sitting for a long time without moving during a flight. Sitting with the feet on the floor for a long time causes blood to pool in the leg veins. The position of the legs while seated also increases pressure in the leg veins.