The reason they retract is to reduce cracking of the leading edge flaps and linkage which has been attributed to sonic vibration and side loads resulting from engine exhaust stream impingement during thrust reverser operation while the leading edge flaps are extended.
SMOC