Certainly every school has taken various considerations before making provisions, including uniform issues.
The environment of each country is different, and this is more directed to the customs and culture of the country. Some countries consider uniforms important for the sake of maintaining culture in schools.