Assuming hole is made at the bottom of the bottle.
Due to gravitational force on water ,it comes out from the hole because air at the hole cannot give the reaction force equal to its weight.Therefore water come down on earth.water around the hole come to fill the space of water which comes out and the process continue until full bottle get empty.