I was always under the impression that it's because of the need to be able to see outside the aircraft in the event of an emergency during landing or take off. If its dark outside and light inside the cabin, when you try to look outside the window to ascertain which wing is smouldering all you can see is your own reflection in the window...