ELIZA, the first chatbot created in the 60s just used to parrot your response back to you:
I'm feeling depressed
Why do you think you're feeling depressed
It was incredibly basic and the inventor Weizenbaum didn't think it was particularly interesting but got his secretary to try it and she became addicted. So much so that she asked him to leave the room while she "talked" to it.
She knew it was just repeating what she said back to her in the form of a question but she formed a genuine emotional bond with it.
Now that they're more sophisticated it really highlights how our idiot brains just want something to talk to whether we know it's real or not doesn't really matter.