Alexander took note of how Ptolomy mentioned the word 'woman' in a belittling way while rejecting his proposal, making Alexander understand that the status of women must be really low in Adhania.
He wondered how much of it was religious dogma and how much of it was culture and the result of times.
But whatever the reason was, the little word Ptolomy had uttered carelessly made Alexander want to spread his own religion, which would have many feminine liberties.
This was certainly not a purely altruistic motive as, although locking women inside their houses was a violation of basic human rights, from Alexander's pragmatic lens, it was more of a waste of human labor and resources.
Women generally made up around half the population and so locking them up in houses and having them do menial jobs was just a waste of precious resources.