WHY:
When the glass in pushed into the water, the molecules of air do not escape but instead are pressed together and act as a shield between the water and the paper, Some water enters the glass but not enough to wet the paper. The molecules of air take up enough to block it.