Light reflects from two surfaces of a thin film. The path difference and any phase flips at each boundary together determine whether the two reflected rays interfere constructively or destructively.