Question: why are electrical boxes metal?
Answer: Metal boxes mean you can drive strong screws into the studs, ensuring a maximum amount of holding power. Metal boxes will not warp. With their high-stress material, metal boxes are often stronger than the work material built around them. ​ Some metal boxes have pre-attached clamps for gripping the electrical cable.