Why do other human organs regenerate but not the kidneys?

Hi everyone! I have a small question that has being bugging me for a while. How is it that a damaged liver, for example, can regenerate itself and be as if no damage was ever caused upon it but with the kidneys it's the opposite? Why don't the kidneys have that capacity of rebuilding themselves to function properly again?

Kidneys can heal when the damage (diabetic nephropathy) is mild, however when the damage is severe it can be difficult to heal. Tight control of blood sugar can really help. Dr. Bernstein suffered from advanced kidney disease and had marked proteinuria but was able to full heal after normalizing his blood sugar.

Oh okay that makes sense. Thanks for your response!