Exactly this. In my day job, I program industrial equipment that operates in very unfriendly environments (lots of heat, vibration, humidity, etc.) We pay extra for parts that are certified to be able to take the abuse.
Many of the parts aren't really any different than what you'd find inside consumer goods. They cost more because they've been tested and certified.
A civilian part might be very close (or the exact same part with a different model number) and even better in some cases but as it was never tested you don’t know.