This isn't exactly a bug. It's how the lighting engine works. Idk if turning on shadows would solve this issue, but essentially light is applied to an object as if it is the only object there. Lights on one entity do not land on other entities. That door is treating the ambient sunlight as if there were no other structures to alter the light in the first place.