10g of water condensation isn't extreme. It's about typical for moderate temperatures, like the 25°C of the OP's example. On the tropics you will have much more than that.
But 10g of water freezing is extreme. There are mechanisms on the fridge to avoid the water freezing.
Think of an ice cold beer sitting out. Quite quickly it gets covered in dew.
But the inside of your fridge and all the goods inside has the surface area of hundreds of ice cold beers.
It isn't just a matter of how much room air you trapped in the fridge, but how much passes the beers in the fridge while you have the door open - perhaps 10x as much.
But 10g of water freezing is extreme. There are mechanisms on the fridge to avoid the water freezing.