An air compressor can get wet if it is exposed to moisture or if it is not properly protected against moisture buildup. Moisture can cause damage to air tools and machinery, and it can also promote the growth of bacteria and mold in the compressed air system.