If RV manufacturers achieved the level of quality as something like a jet aircraft, you would not be able to afford the unit you have. It takes time and money to achieve quality. That equates to higher purchase price. So they do the best they can, and still produce an RV under cost and time lines to keep them affordable. RV Techs at the dealerships catch many things during a PDI (predelivery inspection), but there are always things that need owner attention.
There are companies that spend more time on their units, like INTECH. But you can buy three Gulf streams for the price of one comparable INTECH.
We could also talk about the trade offs of weight Vs construction/material integrity. Like using 2x2' instead of 2x4's and the light weight cabinets, mattresses, etc. But that's another rant for another day.
(I am an RV Tech, and own a Gulf Stream, if it matters).
The olé' teeter totter of cost Vs Quality