Fog also usually means no wind - so the smells tend to stick around. I remember at uni, there was a coffee roaster nearby, and the smell of roasting coffee (which I normally like) would become really offensive and persist when there was fog (and in that town there used to be a lot of that in winter). Without fog there usually was just a pleasant hint in the air.