>>96147666Like all things with regards to 4e and sales numbers, the failure of Essentials is overstated. Hasbro cares about return on investment, and sets sales goals based on reaching a certain ROI.
4e received a lot of capital investment, had high sales goals, and some executives made promises that they weren't able to keep because they were unrealistic.
And on some level, 4e was a bit more expensive to make than other editions. Not because the books were physically better quality or because there were better pack ins, but because the way 4e was designed required more time. You'll notice that as time went on and essentials came out, things got a lot more streamlined - this was so you had less time spent developing things and thus had to use less labor hours to make your product.
4e's cancellation was not because 4e was some massive market failure. It sold well compared to the rest of the roleplaying market, despite what some people cherry picking a magazine poll will say. But for the people who ultimately make the decisions, it was not making enough money for how much money was being put into it. So the decision was made; new edition, simpler rules that would require less writing and playtesting, and lay off staff. D&D was basically being prepared to be a game that was more or less on a kind of maintenance mode.
5e happened to get lucky because the incredibly smooth, textureless roleplaying game they made was perfect for being the ruleset for liveplay games, which lead to an explosion of popularity.