Or look at monarchies and titles of nobility. In the past direct inheritance of political assets was common, and acting on that natural desire, the people involve claimed that parents deserved to direct what they (and their ancestors) had accumulated on to the next generation of their own family.
Yet nowadays most countries and people have decided it is immoral, and they also took steps to make common forms of it extremely illegal.
My point is that economic inheritance today is just as much a social-construct as political inheritance was then. It exists because we permit it to exist, don't be fooled by anyone claiming it's an intrinsic law of the universe or a divine mandate by god that must be obeyed.
If we're going to talk about morality, I think we need to talk about the government as one of the moral actors.
Imagine this scenario, exaggerated to make a point:
1. Alice receives $X. It's from her boss, for laboring in the mines every day. Government man says: "Give me 20% to pay for the shared roads, or you go to jail."
2. Bob receives $X. It's from his parents, for doing nothing other than being born related to them. Government man says: "Gee, I just can't do anything here, I guess I'll have to shake down Alice even harder next time."
Isn't there something off about the morality of Government Man's choices?
If I had diabetes, taking insulin is an acceptable remedy even if there is no cure for diabetes.