Borehole instability mechanism of a deviated well in anisotropic formations