Look at every "good" gun that has gone out of production in the last century+.
It's ALWAYS a matter of profit for the maker.
Gun companies are (or were) often founded by people who wanted to make guns, and make enough money to keep making guns and make a living at the same time. So, make good guns, in order to make money....
Generations later, many are run by people who want to make money, by making guns. And whatever makes the most money is the best thing for the company, themselves, and their shareholders.
You and I might have a deep abiding love of a given model, but to the maker, its just another product, and more so these days than in the past.
What bothers me is the idea that even a good gun, once out of production is now worth 2 or 3x what they cost while in production. Yes I understand supply and demand, but if the demand justifies a highly inflated price for an out of production model, why did it go out of production in the first place?
Tooling does wear out. Its not just the cutting heads it everything overall, the cutters, the machines that operate the cutters, all the dies, jigs, fixtures and gauges used, all have a life, and eventually do wear out,. Smart makers, making something they intend to produce for a long time, have new tools made to replace what wears out, as an ongoing process.
Others take a different view, and use what they have until it gets too worn, and THEN decide if the cost of replacements are justified.
Often, at that point, they aren't.
With foreign makers, and the US as a major market there is another factor, and that is the fluctuation of currency value.
Where that market sits, at the time of decision making can be the final nail in the coffin, so to speak.