How come the pitch decreases when as you pour more water into the glass?

When i pour water into the glass and tap it repeatedly as the water fills it, it decreases the pitch. Why is this and how come this contradicts the idea that if you shorten the length of the vibrating column the pitch/frequency goes up?