D&D should have had amazing success because of the pandemic and Critical Roll boosting it's attention, but unfortunately it got the attention of the REEEEEE crowd. People known for coming into hobbies, taking them over, forcing them into their taste, but then not buying anything even after the company shifts everything to meet their needs. Then these companies, out of desperation, will continue to bend to the people who won't buy their products, and shun the people who once did. When the REEEEEE crowd moves on, the company is left with nothing and usually sells to a Chinese company and that can go either way.
D&D sales have been steadily declining as the people their focus on tend to watch others play it, but not want to get into themselves. They want to have the exact same adventures and moments they see on Twitch without realizing most of that is setup and scripted. Then they want the game to change from being about adventure to being about slice of life, so many many books change to reflect that.