We can sugarcoat it all the way we want, but in biblical times, when parents are under economic stress, female newborns are laid in the sun for post-natal abortion. Female offspring is a financial liability, they do not provide the same 'value' as males do. So when a father raises a women, the father gets compensated.