Why does being a legacy matter in admissions?

It also makes for an elegant story. I have a co-worker who went to Tufts as did his wife, father, father-in-law, and his son. His daughter didn’t get in (she ended up at UVA instead) but I would’ve liked to have seen it occur as it makes for a endearing narrative.