I've seen it happen too... same circumstances.
Picked up something I didn't want. Tried to throw it away. Got it put back IN my inventory by an NPC.
On the upside, it does help prevent areas getting too cluttered with discarded crap.
On the downside, I had to kill the fetcher who did it so I could put the wooden plate (in my case) in his corpse. Worked better that way anyway.
(It was that n'wah who works for Belethor)