Well, of course, as you say, when the critical AOA is exceeded. The quick answer is ANYTHING that results in the critical AOA being exceeded.
More specifically, and generally speaking, the otherwise laminar flow across the wing becomes more and more disturbed until, at the CAOA, it can...