A horrible tale, AND the sort of thing the “diversity is our strength” folks would say is “cultural” and should be excused. Islam and eunuchs for sale.
In a culture where a man can have multiple wives, many men would never get a wife. A parent might decide as a eunuch my son can get a job and care for me in my old age. Eunuchs could work in large households with women, whereas a poor man might never get a wife or a job.