I think they have a piece of Gore-Tex membrane over the vent that allows “breathing” but not moisture. At least that’s what vehicle computers use.
Good point. I always thought that it was for dust but it probably blocks humidity too.