The A10 was designed to swiss cheese just enough Russian tanks and to buy the time for C5s (designed to transport main battle tanks) full of M1s (meant to kill Russian tanks) to make it to France before the Russians could steamroll Germany.
The F117 was designed to slip past and strike infiltrate Russian air defense systems so our bombers could make it to the target.
All the weapons systems of the cold war era were built to fight a specific peer adversary first and needed to fit into that portfolio. Capability to handle other tasks was pursued (especially during and after Vietnam) but at the end of the day systems had to be able to fit into a strategy in which we fight the Russians or if not they had to have some other specific and narrowly tailored purpose (e.g. AC130).
Right now the armed forces are in this weird state where they have to be able to handle anything from some rowdy poppy farmers to WW3 in no particular order of priority and that manifests itself as poorly thought out feature bloat.