The mechanism of the Zeno effect