Jasmine didn't hear that person's footsteps as they approached her. She was sound because she couldn't sleep since the afternoon. After all, the pain in her head didn't go away.
The person got closer and looked at Diana than at Jasmine. They don't know what went through that person's mind when he saw the two sleeping women.
The person was about to touch Jasmine's head but was stopped by the sound of approaching footsteps. The person rushed to hide so that no one would know.
The person's vigilance was extreme because it confirmed that the sound of the footsteps of a nurse entered Diana's room. She checks the patient's condition.
That person slowly walked out because he didn't want anyone to know of the person's presence as that could put trouble.
The nurse sensed something was wrong, and she immediately checked every corner where someone could be hiding. However, she found no one else in the room.