Why is vein ablation or removal preferred over valve repair in varicose vein treatment?

Why is vein ablation or vein removal more commonly recommended than valve repair for treating varicose veins, and what factors influence this treatment choice?