Maybe the principal was concerned that you might set your hair on fire with the sparks. During one of my chem labs, another student was peering into a microscope and didn’t notice that she set the top of her head on fire.
Forgot to say that she forgot about the Bunsen burner in front of the microscope.