Adding this because it may make more sense as to what the flinch status means/originates from, just in case anyone reading doesn’t know what it means to flinch (I.e, non-native eng speakers): “make a quick, nervous movement as an instinctive reaction to fear, pain, or surprise.”
In other words, adding it to Pokémon logic, the Pokémon gets too frightened to move, basically.