For the simple reason that when the FLEX is not playing defense, the FLEX has left the game. (The lineup goes from 10 to 9). Since the FLEX has left the game, coming back into the game is a reentry
I knew about the offensive part you pointed out, but not the defensive part. Thanks for educating at least one more person about the DP/FLEX intracacies.