I have had similar experiences. Sometimes it fits that particular roleplay, otherwise it kinda happens at random when the AI thinks I wanted them to give me the item. I usually just "pretend" it didnt happen.