I really understand their reason because when you are attracted or comfortable with that person, you just want to spend more time with them. So I understand why they go to the library and got unlucky to witnessed the inappropriate things their schoolmate doing