Mechanisms of deformation and instability in crystalline rocks at the pore scale