Short circuit occurs when naked live and neutral wires touch each other.
In such situations, the resistance of the circuit becomes very less. Now, according to Ohm’s law, current is inversely proportional to resistance. Thus, the decrease in value of resistance of the circuit raises the current to a significant amount. As a result, the wires become hot and sparks are caused by Joule’s heating effect of current.