In electrical devices unintentional short circuits are usually caused when a wire's insulation breaks down, or when another conducting material is introduced, allowing charge to flow along a different path than the one intended.
In mains circuits, short circuits may occur between two phases, between a phase and neutral or between a phase and earth (ground).