Apparently according to the fucking disgrace that is Amnesty, the issue is identifying as a girl. So if the women were just tk identify as men, they would be free to participate fully in society.
"Denying Women Human Rights
Under the Taliban, women and girls were discriminated against in many ways, for the 'crime' of identifying as a girl. "
https://www.amnesty.org.uk/womens-rights-afghanistan-history