On the mechanisms of hydrogen attack