Here's why:
* "School" usually refers to an institution: We typically say "school" when talking about a place of learning, like "The students are at school."
* "School" can be a collective noun for a group of fish: For example, "A school of fish swam by."
To refer to a group of girls, you have better options:
* A group of girls
* A class of girls
* A team of girls
* A troop of girls
* A bunch of girls
The best choice depends on the specific context and the type of group you're describing.