It's an unfortunate consequence of our biology. We're not thinking machines, we reproduction machines. Thinking was never even tacked-on, it just was just a side-effect from our (quite amazing) capability to abstract and model the systems around us to make predictions about them. The monkey systems around us.
So, all in all it's not surprising that we lack the necessary algorithms to correctly deal with the dangers that come from being a species that found the ultimate exploits in the game of life.