Pain can cause folks to wake up or to start sleep. Hip discomfort usually occurs when the hip joints are tight and inflexible, unless there has been an injury. Consider gentle stretching exercises, improving seated posture, and leg strengthening. Seeing a physical therapist
may be helpful if you dont see results.