It is written in chapter $4$, page $51$ of Atiyah-Mac Donald's $\textit{Introduction to Commutative Agebra}$:
"a prime power $\mathfrak{p}^n$ is not necessarily primary, although its radical is the prime ideal $\mathfrak{p}$. For example, let $A = k[x, y, z]/(xy - z^2)$ and let $\bar{x}, \bar{y}, \bar{z}$ denote the images of $x, y, z$ respectively in $A$. Then $\mathfrak{p} = (\bar{x}, \bar{z})$ is prime (since $A/\mathfrak{p}\sim k[y]$, an integral domain); we have $\bar{x}\bar{y} = \bar{z}^2\in \mathfrak{p}^2$ but $\bar{x} \notin \mathfrak{p}^2$ and $\bar{y} \notin r(\mathfrak{p}^2) = \mathfrak{p}$; hence $\mathfrak{p}^2$ is not primary"
By definition, $I$ is a primary ideal $\iff \forall a,b\in A:(ab\in I \implies a\text{ or }b\in\sqrt{I})$. I don't understand why $\bar{x}\bar{y}$ is valid for Atiyah's argument, since $\bar{y}\bar{x}\in\mathfrak{p}^2$ and $\bar{x}\in \sqrt{\mathfrak{p}^2}=\mathfrak{p}$, therefore the proposition $(ab\in I \implies a\text{ or }b\in\sqrt{I})$ is satisfied. Shouldn't he find $ab\in \mathfrak{p}^2$ such that this proposition is $\textit{refuted}$? What am I missing?