Isn't it just an experiment? Why was she the only one who woke up? Seeing her companions lying next to her, she learned that there was something wrong with the experiment. And the only way for them to wake up is that she has to go back... And kill them.
After she rescued her first companion, she didn't even realize it. She gradually shed her hypocritical skin in real life and became her true self in the virtual world.