I believe it's designed to prevent the cabin temperature getting too high from the sun shining through all day; the heat isn't good for the cabin. Just a small example; I was once on an aircraft that had come out of storage and every sticker on all of the cupboards (for example showing where all the equipment was stowed) were pealing and falling off, as the heat effects the adhesive so it required new stickers throughout the entire cabin.