Military (and aerospace in general) equipment is often:
In an unpresserised bay which means cooling the equipment is by conduction. Convection cooling loses meaning at 30,000 feet as there are very few air molecules to transfer heat by convection. It is much more difficult to effectively transfer heat by conduction only.
In a glare zone (think just under the canopy in a fighter aircraft) and this area can be very hot.
In a bay where the ambient temperature may be in excess of 70C.
In the leading edge of a wing, which can range in temperature from icing conditions (well below zero) to very hot (at Mach 2 or so, the friction of even the few molecules available is still very high; that is why the space shuttle had elaborate heat management for re-entry).
It is not unusual to have a card edge temperature requirement of 85C for short periods (30 minutes typically) and it does not take much processor (to name but one device type) activity to raise the junction temperature to 120C or more.
In summary, military and aerospace environments are really harsh (as are down hole applications incidentally).
As noted by others, fully qualified military grade parts can be expensive (as much as 10x the cost of the commercial equivalent and in some cases more); in response to that some manufacturers have instituted screening programmes for plastic parts which still have a premium, but not as much as the previous solutions.
[Update]
In response to the comment on card edge temperatures, here is a typical conduction cooled chassis:
The outer part of the chassis is known as a cold wall (where we can know the temperature) and it may simply be metal or have other methods of maintaining a reasonably well known temperature.
Now here is a typical card, with heat ladders:
These are often made of aluminium (it is cheap and has decent thermal parameters) and the ladders are in contact with the side edges of the enclosure above; as there will be some heat differential between the outside and inside of the box, the temperature withstanding requirement for the PCB is set at this internal heat ladder, which is, as you can see at the card edge.
As the heat must get from the components to this point, it is not unusual for the PCB at a hot component (such as a processor or GPU) to get to 95C or more with a card edge temperature of 85C (which is often a specific requirement).
The thermal resistance of most flavours of FR-4 is \$0.4 \frac {W} {mK}\$ so lots of internal metal layers will exist in this type of card.
In some situations, we may need to use thermally clad PCBs which although expensive may be the only way of getting the heat out.