Sunk Costs considerations are demonstrably stupid. By even considering them, politicians are showing they are stupid, but hope they can spin it to an electorate they consider even more stupid.
I do not think the original decision to go with F35 was wrong, but the World has changed.