Let $X, Y$ and $Z$ be random variables. Let
$p_1$ be the statement that $(X,Y) ⊥ Z$ (meaning $(X,Y)$ and $Z$ are independent),
$p_2$ be the statement that $X ⊥ Y$ (meaning $X$ and $Y$ are independent)
$p_3$ be the statement that $X ⊥ Y \mid Z$ (meaning $X$ and $Y$ are conditionally independent given $Z$)
What I have known is that if $p_1$ is true, then $p_2$ and $p_3$ imply each other.
I wonder if the reverse is true. That is, if $p_2$ and $p_3$ imply each other, will $p_1$ be true? To disprove it, is there a counterexample? Thanks.