That sounds like fear, he's scared of something in the night. It's quite usual for this to develop around the 3rd birthday, so entirely age appropriate.
So it comes down to finding ways to help him feel safe and secure.
At around this age I started leaving the light in in bedrooms. We have dinner switches so it was the main overhead light, but dimmed right down. Highlights don't always produce enough light for a frightened toddler. And also bear in mind that any lower level lamp or if the lamp is in a corner may well produce shadows around the room - and those shadows can look scary to a toddler.
Having something to cuddle may help too. A special teddy for example. Even better if you get an old one (from a charity shop) and give it a back story - This was my teddy when I was little and it always kept me safe so I didn't need to feel scared.
There's no point in language like "You don't need to be scared" because he does feel scared. So instead of just telling him to (try to) ignore his feeling, better instead to find ways to actively reduce the fear.
White noise (all night, maybe a fan?) Can help to stop general house creaking noises from sounding scary.
Then I would stay with him when going to sleep (inc always taking him back in the night). But with a plan to gradually withdraw.
So start with sitting by his bed on the floor. Stay until asleep.
Then sitting on his bed, stay until asleep.
Then stood by his bed, but sit and cuddle him if upset, but go back to standing when he's calm. Stay until asleep.
Then stood a few steps from bed. Stay until asleep.
Then stood by the door. Stay until asleep.
Then stood by the door but keep popping away for a minute or so at a time. But stay close by until asleep. All the time through this always go back and cuddle if he's upset, so he always/trusts you will. But withdraw when calm. He has to trust you'll stay until he's asleep though, so no sneeking away before he is.