Use the dialogue to answer the question which purpose might the dialogue serve in the story?

"Why did you lie to me?" she asked, her eyes filled with hurt.

"I didn't mean to, it just happened," he replied, looking down at his feet.

The purpose of this dialogue might be to reveal a conflict or misunderstanding between two characters in the story. It could serve to create tension and develop the relationship between the characters.