During the night, you experience a drop in the stress hormone cortisol, which has anti-inflammatory properties. Since the reduction of cortisol can trigger inflammation, it can cause pain, whether for fractures or even regular joint pain.