There are hydrophobic coatings that exist that prevents some liquids from getting absorbed by materials.
It doesn’t prevent oxygen from entering and exiting.
Edit: it’s one method this is achievable I’m no expert. For an example of a hydrophobic substance you could try drop some lemon juice (never tried with water) on a layer of ground cinnamon. I think it works differently to more advanced coatings though. Basically some liquids wants to stick together (at a molecular level) some things let this happen easier so the liquid won’t be absorbed because it can stick together and roll off like a ball.
Latest Answers