The picture clearly shows that the 4Ω resistor is connected directly to both terminals of the battery. If you connect a voltmeter to the ends of the resistor, the voltmeter is connected directly to the battery terminals. So the potential difference across the 4Ω resistor IS the potential difference across the battery . . . 12 volts.
As long as the battery is fresh enough to supply all the current that both resistors want, the 4Ω resistor doesn't even know that the 2Ω resistor is there. (And the feeling is mutual.)