@Shepard20
Wouldn't really say he took advantage of the situation. He knew that she was holding back and putting on a front, he knew she wanted to cry.
And he told her that its fine if she does.
If he really wanted to take advantage of the situation. He would hug her back to "comfort" her.
She was lonely, and she wanted to hug someone.
He let her do that, and he held back. You can see when she ran to him and "hugged" him/held onto his shirt: he grabbed her my the shoulders. He wanted to hug her, instead he clenched his fists and let go.