I wrote a book for O'Reilly (
https://buildingtoolswithgithub.teddyhyde.io/) and I only say that because what I'll say next is controversial.
First, there must be a huge market for technical books that don't appeal to Lisp fanatics. There are people coming from nontraditional backgrounds into technical roles, and they, I assert, probably want a different book than the types of books O'Reilly generally publishes, which are very technical, like those dealing with Lisp.
Two, and this is what is controversial: O'Reilly as a publisher is unable to offer those types of books and misses out on those types of customers.
I don't know how they marketed my book, honestly. I intended that it would speak to the beginner programmer by offering up chapters that introduced a new programming language in each chapter. I hoped people who weren't technology experts would find a gentle path into technology with my book. But I don't think it resonated, maybe that speaks to the quality of the book, but maybe not.
Less than 1% of the people in the world are software developers. Are the people fascinated by Lisp less than 1% of that? But, excluding say the Luddite population, let's say 90% of the rest of the people in the modern world do want to learn about technology and how to play with it, and I'm not sure O'Reilly knows how to reach them. O'Reilly is full of some of the smartest people in the tech community, but I'm not sure the empathy for beginners is there and that's hindering them as a publisher.