If ice/water vapor caused lung infections then you would get them from showers, saunas, swimming, being outside in cold weather or fog, living near the sea and living in some countries.

Ofcourse too much moisture in your lungs can cause problems, its called drowning...