what would make my pc turn on when i walk into the room while its asleep?

Let’s be serious guys.

It happens because your pc loves you. When you enter the room, you “turn it on”.