Why does Word not like this statement, "For each iteration"

Iteration may be used as a countable or uncountable noun.

XYZ must occur after each iteration

is correct if iteration is used as a countable noun. Word may have taken it to be solely uncountable. For example,

Iteration is needed to calculate this number. (uncountable)

Five iterations are needed to calculate this number. (countable)