If air could get into the jar it stands to reason that water could as well.
Might it have stuck it head, jar and all, into a lake/river and drank the water that leaked into the jar? No reason to think it didn't, it did have 11 days to figure it out.
Poor thing figured it out somehow... one smart bear finding water! (not so smart when it comes to jars! LOL)