Oh that's easy, it's illegal.
There actually were a lot of them in the Prophet's time and there are some Hadith that mention them (why Iran allows them). However, they were genocided by one of the early Caliphs and after.
en.wikipedia.org/wiki/Mukhannath
A number of ḥadīth reports indicate that mukhannathun were used as male servants for wealthy women in the early days of Islam, due to the belief that they were not sexually interested in the female body. These sources do not state that the mukhannathun were homosexual, only that they "lack desire".[1] According to the Iranian social scientist Mehrdad Alipour, "in the premodern period, Muslim societies were aware of five manifestations of gender ambiguity: This can be seen through figures such as the khasi (eunuch), the hijra, the mukhannath, the mamsuh, and the khuntha (hermaphrodite/intersex).
While sporadic persecution of mukhannathun dates back to the time of Muhammad, their large-scale governmental persecution began in the Umayyad caliphate. According to Everett K. Rowson, professor of Middle Eastern and Islamic Studies at New York University, this may have been prompted by "a perceived connection between cross-dressing and a lack of proper religious commitment"
ome Islamic literary sources associate the beginning of severe persecution with Marwān I ibn al-Ḥakam, fourth caliph of the Umayyad caliphate, and his brother Yaḥyā, who served as a governor under the caliph ʿAbd al-Malik ibn Marwān, while other sources put it in the time of ʿAbd al-Malik's son, al-Walīd I ibn ʿAbd al-Malik. The governor of Mecca serving under al-Walīd I is said to have “issued a proclamation against the mukhannathun”, in addition to other singers and drinkers of wine. Two mukhannathun musicians named Ibn Surayj and al-Gharīḍ are specifically referred to as being impacted by this proclamation, with al-Gharīḍ fleeing to Yemen and never returning back