No doubt evolutionary psychologists could a tell a story to explain this. They always can. Something about tribes of hunter-gatherers.
As a systems architect, I’ve spent decades designing and implementing large and complex systems of information systems.
Initially, I was pleased to find someone who might be an interesting new participant in the evolution debate.
True, things go wrong with our bodies, with results that range from the tragic to the merely expensive or inconvenient.
In a physical world there will be design constraints, so it is only realistic to expect tradeoffs.