For example ICs usually have ceramic packages, or other hermetically sealed packages. There are less components to chose from, so you cannot just put there your favorite amplifier, you have to chose from something which is actually made for it. Electronics is temperature dependent, so offsets are bigger, errors are bigger, you need more parts to get rid of the errors.
Power dissipation must be lower than in normal operation, as it would overheat itself. For this you need more efficiency or more parts. And this is only the component level. There is testing, sourcing, hard to repair (because coating), for assembly you have extra steps, and it is harder to find someone that has the brains to put it together.