The reason was political and legal. The right to the throne was passed through the female, not the male. Sort of like Mosaic Law where the mother determines Jewishness not the father. I'm told that's because you always know who the mother is....
Egypt also had the example of it's gods. ie Isis and Osiris.