Yes, it's possible to cause sensitive to light by staying up to late. As we know that sleep deprivation means that people have difficulty falling asleep or staying asleep, waking up too early or has poor sleep quality. When people have sleep deprivation, it will just make your eyes tired, and stressed. And if you still do not have a good rest, your eye will become weakness. When your eyes are exposed to bright light, your eyes will have the feeling of being watery. What's worse, if sleep deprivation continues day by day without remedy, the eye problems will become worse and worse, such as blindness. Accordingly, in my opinion, the most simple and effective way is having enough rest and keep a health sleeping habit. However, if you can't sleep well in any case, you are supposed to see a doctor and take a medication.