Bf is mad at me

Ok so we live together. He wakes up at 3:30am to go to work. We sleep in the same room. Well I woke up at 4am and he wasn’t here, he was at work and the door opened by itself and it freaked me out. It woke me up because there’s a creaking noise when the door opens. So I slept with the light on because I was scared.

Now he’s mad that I slept with the light on because it cost money