The sky appears red during sunset and sunrise due to the scattering of sunlight by atmospheric particles, with blue light being scattered away more than red light.