Cause it evolved. During the Tokugawa shogunate there were a lot of edicts involving proper behaviour. One of the rules was that neither women nor young boys could participate in Kabuki. Apparently some of the performances were too 'sexy' for the bakufu. Anyhow nowadays it's simply a tradition for older men as actors and one of the reasons why people go to Kabuki in the first place.