If your hip hurts during the night, it could be due to your mattress or sleeping position. JOI Rehab explains hip pain and how a mattress effects it here in this article: https://www.joionline.net/trending/content/why-does-my-hip-hurt-while-i-am-sleeping