Think of it as a competition to have the most grandchildren. If males are polygamous, a successful son can give you far more grandchildren than a successful daughter, and an unsuccessful son will do far worse than an unsuccessful daughter because he will fail to win any mates at all. A son is a high-risk, high-reward reproductive option compared with a daughter.