Fog famously blankets San Francisco in the summer when hot inland temperatures create a low-pressure zone over Northern California's Central Valley. The hot inland air rises and the heavier cold ocean air rushes in to replace it. This flow from the high to the low pressure zone pulls the fog through the Golden Gate passage and into the Bay.