There are lots of examples in day-to-day operations where the default computer response, or airline SOP would be the less safe course of action. You can't program for everything.
Yes that's been the cause of several recent accidents and that is exactly why we need computers that are able to run a simulation in real time with current conditions and look ahead to see what is going to happen so it can take the appropriate action.