Then on most modern aircrafts, these alarms would be going off all the time. It's more important to know why the computer received incorrect data on the angle of the plane.
Usually there are three or more sensors reading it and the master computer uses the voting mechanism to arrive at the correct reading. So in this case probably the master computer had erred?