Leaving his door open while he's dressed all pretty? Is he attempting to bait anyone in particular inside it? This has to be a trap...one Peter shamelessly walks into, creeping in and closing the door behind him before walking over to the bed.
He's intending to try to jump scare Loki, +