Blood clots in the legs can be caused by prolonged sitting or bed rest, injury, surgery, pregnancy, or underlying conditions like obesity or cancer. Smoking and certain medications can also increase clotting risk.