This also explains why unmarried couples expecting daughters don’t get married. The women feel with a daughter coming in, she wouldn’t need a husband.
So, it isn’t exactly that a daughter is a liability and son an asset. It is a question of convenience and perhaps companionship.