As far as I'm aware, I've always been told it's one of two things. Definitely to make pax eyes adjust to the dark and also the fact that the pax are our eyes and ears. There are more pax than cabin crew and in the likely hood of and emergency, if the lights are off they can see what's going on outside and let us know.