https://thehill.com/blogs/blog-briefing-room/news/62033-ayers-i-wrote-obamas-book
Second, here's an encounter between Ayers and a conservative blogger:
But he didn’t scowl, and didn’t run off as he has been known to do. Instead, unprompted, he blurted out: “I wrote ‘Dreams From My Father… Michelle asked me to.” Then he added “And if you can prove it we can split the royalties.”
Anne responded, “Stop pulling my leg!”
But he repeated insistently, “I wrote it, the wording was similar [to Ayers’ other writing.]”
Anne responded, “I believe you probably heavily edited it.”
Ayers stated firmly, “I wrote it.”
So what's going on here? The most likely scenario is that Ayers is simply amused by the endless theories surrounding his relationship (or lack thereof) with Obama and has decided to stoke the fire for fun.