Because it's a sexist society. Writers don't think about women with agency and the marketing will tell them not to have female main characters because it won't sell.
Magical Girl anime doesn't exist???
Or all the SoL where not a single male character exists?