When the veins in your legs become weakened, they can’t return blood to your heart quickly enough. Blood then backs up in your leg veins and leads to painful swelling. This condition is one of the contributing factors to varicose veins. If you’re getting sock marks regularly, your body might be trying to send you a signal that your veins don’t let blood flow back up to your heart.