Most displays, especially on laptops, utilize ambient light sensors to detect surrounding levels of light. In modern versions of Windows, Microsoft introduced a feature called adaptive brightness.
First of all, no, your laptop is not haunted, but more importantly, we're going to go into why this is happening and how to fix it. If this scenario sounds familiar, then I have some good news for you. Now you're confused and worried that your laptop is potentially haunted.
Angered by this, you get up and move your laptop, only to suddenly notice that the display does in fact get a lot brighter. You're smashing your keyboard to increase your screen brightness, yet it won't go any higher, but you know you've been able to set it higher before.