Nothing matters as long as a company is growing. You don't have to improve or have the best tech or the best sales or do everything right or have the best culture. The only thing that matter for a company is to grow.
If the business keeps growing and the stock keeps going up, it papers over a lot of those problems.
Of course, when the growth stops suddenly, all the skeletons fall out of the closet.