The Higgs field fills all of space and interacts with some particles but not others. Particles that 'feel' it gain mass; photons are blind to it and stay massless. At 10^-12 seconds after the Big Bang the field switched on, splitting the unified electroweak force into electromagnetism and the weak force.