A big contributor to poor sleep that people in the past were never subject to is the light from computer screens and cell phones.
Babysitting kids by letting them have smart phones and iPad’s and play games all the time will mess up circadian rhythms.
That’s certainly part of it for sure and that should be one of the things explored to help the child establish healthy sleeping habits.