1. The product line is not actually profitable, the measurement was wrong, and the CEO isn't comfortable with nitpicky details so prefers to ignore the measurement than fix it.
2. Interest rates are very high, so the working capital for the more profitable product is better obtained by cannibalizing the less profitable product than by borrowing. Or put another way, interest rates are so high that the bank will give you a better return than a profitable product will.
3. The profitability of the product is so marginal that the management time spent thinking about it is worth more than the pennies of profit.
4. The two product lines require diametrically opposed corporate cultures. (But then you should sell off the other product rather than scrapping it.)
I don't think any of those apply here. What am I missing?
I disagree. Generally speaking, given a line that makes big profit, and a line that makes small profit, all effort to the big profit line gives the greatest overall profit.
What you have presented is not general; you've presented a series of special cases where it might be a good idea to keep the less profitable line running too. There are many such special cases, but in general, if your options are a line that makes big profits and a line that makes small profits, you'll be most profitable by picking the former.
[1] "[..] start-and-stop nature of munitions procurement over the last 20 years [...]"
WTF? That makes no sense whatsoever! A company should only exit a business if it is unprofitable. Profit is price minus cost. The cost of just continuing to produce something you are already producing should be small. The price a monopoly supplier can charge the richest and least price sensitive customer in the world for something supposedly vital should be huge. These should be among the most lucrative businesses ever invented.
So what's going on?