The best choice that answers the question regarding Anne's motivation for spending so much time with Peter in "The Diary of Anne Frank," Act II, is:
B. She thinks that Peter understands her.
This choice reflects Anne's desire for connection and understanding, which she finds in her interactions with Peter amidst the constraints of their circumstances.