$p(x, y)=p(x) p(y \mid x)$ by Chain Rule (Probability).

By the Chain Rule (Probability), the joint distribution of $(x, y)$ is $p(x, y)$.

Chain Rule (Probability)