Heart, liver, or kidney disease. Sometimes swelling can indicate a problem such as heart, liver, or kidney disease. Ankles that swell in the evening could be a sign of retaining salt and water because of right-sided heart failure. Kidney disease can also cause foot and ankle swelling.