"Exactly! It's just friendly! We don't always flirt... Wait, you said Torchwood? You're Torchwood? Other-world Torchwood but... what? And what kind of ring is that?"
Once they're done hugging, he puts his arm around Ianto, trying to offer some reassurance again in the confusion.