Minecraft wiki entry for Water, associated text: These bubbles appear above the hunger bar when the player's head is in water, and when all the bubbles pop, a heart of damage is dealt every second until the player is no longer entirely under water.