I am quite likely wrong but I recall it being to do with the adverse pressure gradient causing flow separation beginning at the trailing edge and moving forward as the angle of attack is increased toward the stall, the area of separated flow produces relatively less lift and consequently the centre of pressure for the wing as a whole moves forward.