Because you're supposed to substitute each source with a source of value 0. A shortcircuit (cable) is a battery (voltage source) with an EMF of 0 V. An open circuit is a current source with 0 A; remember that in an open circuit no current can flow, but the voltage drop could be anything. In a current source of 0 A, no current can flow, but the voltage drop could be anything.