I realise this is an old one, but I wanted to add my own explanation. I can't remember where I heard this and I'm 99% sure I didn't come up with it.
On older ships, there were lots of explosions and people dying from random electricity and plasma leaks. With the need for a console to be connected to the ship's power systems, and the ship dealing with power in such enormous quantities, it was bound to happen, especially when in combat.
Until those famed Starfleet engineers came up with a console completely separated from the rest of the ship's systems, powered by wireless energy and connected via wireless data. Designs were updated, and the first class of starship with 100% safe console was launched.
The result? Losses in combat increased by 500%. The ships' designs were superior to the last generation, and the internal systems were more stable due to the new console design, so why the sudden massive drop in effectiveness?
After some research the boffins in engineering worked out where the issue was, PEBKAC. A common problem engineers and programmers come across.
Problem Exists Between Keyboard And Chair.
When the crew were less likely to die from performing their console bashing, they were much less motivated to ensure that their work was done well. If doing your typing badly resulted in nothing more than a poor performance review, you would not be as motivated as someone who would face the console exploding in their face and killing them.
Imagine the new ships, all the crew sat around in a nice quiet room, silently tapping away at their new fancy displays, not a care in the world. Meanwhile outside half a dozen Klingon battle cruisers were firing disruptors at them. Nobody knew what utter danger they were in until the ship exploded and they were all dead.
So Starfleet put the old consoles back. The poor red shirts started dying off again in huge numbers, but ships were surviving battle situations much more frequently.
I suspect we could improve the stats on road traffic accidents in a similar way if we attached sharp spikes to steering wheels.