Smog formation is primarily driven by photochemical reactions involving sunlight and pollutants. When sunlight interacts with NOx and VOCs, a series of complex chemical reactions occur, leading to the formation of secondary pollutants like ozone and particulate matter. These reactions are accelerated in the presence of catalysts.