Sort:  

This can be one of the causes, though it may not be the only one... check my other post about the Night Shift mode on iOS linked here, it gives a bit more technical details about the Blue Light (and light in general) and how and why it can affect our sleep or the lack of such at night.