Why does being a legacy matter in admissions?

Many businesses give preference to repeat customers. The benefit to colleges is an increased yield and the possibility that a loyal family will become one who gives to the university in the future.