They did close the schools because girls are not supposed to go to school- a ritual usually the male members of the family follow as per Islam.
Roots of secularism are the schools of nowadays and in Islam only man is instructed to earn and financially support his family.