I actually used to say the reason Ruger stopped making them is they had come to the point in manufacturing where they could not improve the design anymore... had pretty much built the perfect handgun and so the only logical conclusion from a business standpoint was to discontinue it and start with something else. This is pretty much the evolution of manufacturing... Kenmore in the 70's did the same thing with washers and dryers.... those things would pretty much last forever... 20-30 years. This is actually a bad thing in manufacturing... 10 years is a goal... and not any more.
The Federal DOC placed a big order for P95s along with the DoD for their civilian security contractors, and then Ruger dropped them
I assume they still make parts and provide repair support for the contract guns. Or they still make the DAO P95 off-catalog for large orders like how S&W never stopped making the 5946, they just don't offer them to the public. Occasionally you can snag one at Cabelas as an over run
S&W, like Ruger, made their peak of pistol design with their metal guns like the 5906, 645, etc. so they went to the poly frame Glock knock offs like everyone else because metal guns have less profit margin, and Glock made the gun world comfortable with plastic
If we had a time machine and tried selling guys like Bill Jordan and Elmer Keith on plastic pistols they'd probably throw them in a dumpster. But people are Glock-erized now. I own a few Glocks but I still love my metal P guns and S&Ws