Why are general aviation avionics so expensive? I am quite sure that someone already asked this question, but I couldn't find it on this site.

Why are avionics for general aviation aircraft so expensive?

For example:



The Garmin® G5

$ 2,149.00





The mighty Garmin® G1000

$ ~ 50,000.00



Nobody can tell me, the hardware and development for a small screen costs more than 2,000 dollars. Or two screens with some knobs for the price of a middle-class car. (Of course, those avionics are not bad, they are worth every cent. But it still looks expensive for me.)


What causes this, quite high price?


I guess it's because of high licensing costs to license it for use in aircraft, or are the production costs really so high?
The cost of rigorous FAA certification versus number of units produced would be my subjective opinion.  Count on our little glass horizon not full up Galaxy 7 catching on fire or even just failing when needed.  That's one of several things we pay for, again: opinion without data.