For making fire, there is the rule of three, the triangle, and you need all sides to keep combustion going:
- Heat
- Fuel
- Oxygen
knock one out and it falters.
We should describe infections the same way. Needed for infection:
- Virus/pathogen
- Outer defenses penetration (skin/mucous membranes)
- Immune system defeat
Seeing it that way, it doesn't have to be so mysterious. Some viruses are dormant or almost omnipresent. The infection may be triggered by other conditions changing, including factors that affect your immune system status or efficiency of your outer protections!
Wikipedia (I don't link cause unpretty images):
"Worldwide rates of either HSV-1 or HSV-2 are between 60% and 95% in adults. HSV-1 is usually acquired during childhood. Rates of both increase as people age."
"Following a primary infection, the virus enters the nerves at the site of primary infection, migrates to the cell body of the neuron, and becomes latent in the ganglion"
"The causes of reactivation are uncertain, but several potential triggers have been documented. A 2009 study showed the protein VP16 plays a key role in reactivation of the dormant virus. Changes in the immune system during menstruation may play a role in HSV-1 reactivation. Concurrent infections, such as viral upper respiratory tract infection or other febrile diseases, can cause outbreaks. Reactivation due to other infections is the likely source of the historic terms 'cold sore' and 'fever blister'. Other identified triggers include local injury to the face, lips, eyes, or mouth; trauma; surgery; radiotherapy; and exposure to wind, ultraviolet light, or sunlight."
1) The atmosphere is in an unusual state (lots of fast moving water droplets, probably with a lot of backscatter as they hit the ground fast or bounce off leaves). Maybe bacteria use that as a travel mechanism.
2) Maybe an immune system defence is weakened by high humidity.
3) Maybe wet weather causes changes in behaviour unrelated to being wet, but that lead to higher disease transmission and the correlation is being misintepreted.
4) Maybe the bacteria really like rain and multiply like crazy when it is wet.
5) Maybe some people have an unrelated non-infectious illnesses that are triggered by the cold, damp weather and that is being misinterpreted as a cold.
6) Maybe grandmothers just say that because it seems like good advice and they don't like water being traipsed through the house.
There are enough different options there that any correlation is not actionable. Leaving aside whether any correlation even exists.
(Note how even your wording of the grandma theory is surprisingly in line with infection principles: the wet hair makes you "catch" a cold, from someone else, not directly causing the cold)
Then we learned that viruses cannot spread like that, and so that old theory is basically invalid.
But some time ago I read somewhere that this theory might still hold true somehow, because our nose stores all kinds of viruses, and they might burst out when we are weakened.
Maybe someone more knowledgeable about this might chime in here ;).