The honest answer is that water in the straw is connected to an area with atmospheric pressure, which pushes the liquid towards an area with lower pressure (where you're sucking).
Without that atmospheric pressure, gravity would win & the water stay where it is.