For the companies that price their products according to the cost to manufacture, it can reflect the quality of the parts used. But there have been products made using the best parts available, and (some) people still don't like how they sound.
Then there are companies that set their prices according to what they think the market will bear. That is a reflection of their understanding of the market more than anything else.
The largest factor in the quality of a product is the talent and knowledge of the designer, a difficult thing to quantify, and a subjective matter.