While D&D has some built in advantages, TTRPGs are a a competitive environment. Both 3E and 4E saw decent popularity when they were first released and then sales tanked. The name and tradition brought over the dedicated few but never seriously grew the market. D&D was dying.
Now? With 5E...