Good question: that is a big leap in the argument in my opinion.
If we let $K = \mathbb{Q}(\sqrt{2},\sqrt{3})$, then $\sqrt{2} + \sqrt{3}$, $\sqrt{2} - \sqrt{3}$, $-\sqrt{2} + \sqrt{3}$, and $-\sqrt{2} - \sqrt{3}$ all lie in $K$.
In order to prove that they are all roots of $p(x)$, the minimal polynomial of $\sqrt{2} + \sqrt{3}$, we follow An Hoa's idea: find automorphisms $\sigma, \tau$ of $K / F$ such that $\sigma(\sqrt{2}) = -\sqrt{2}$, $\sigma(\sqrt{3}) = \sqrt{3}$, $\tau(\sqrt{2}) = \sqrt{2}$, and $\tau(\sqrt{3}) = -\sqrt{3}$.
The argument is then completed by noting that $\sigma, \tau$ both preserve $p(x)$ (since its coefficients are in $K$), so they preserve the roots of $p(x)$. (If $\alpha$ is a root of $p(x)$, then $\sigma(\alpha)$ is a root of $\sigma(p(x)) = p(x)$ and $\tau(\alpha)$ is a root of $\tau(p(x)) = p(x)$.)
Therefore what we need to show is that these automorphisms $\sigma$ and $\tau$ exist.
$K = \mathbb{Q}(\sqrt{2},\sqrt{3})/\mathbb{Q}$ is the splitting field of $(x^2 - 2)(x^2 - 3)$, so it is a Galois extension.
To argue the extension has degree $4$, further notice that it contains both $\mathbb{Q}(\sqrt{2})$ and $\mathbb{Q}(\sqrt{3})$. These two fields are distinct because one contains a square root of two and one doesn't (all elements of $\mathbb{Q}(\sqrt{3})$ can be written $a + b\sqrt{3}$ and you can show that such a thing squared cannot be $2$). So $K$ has degree divisible by $2$ and strictly greater than $2$ over $\mathbb{Q}$, and it also has degree at most $4$ since it is the splitting field of a degree-4 polynomial, so it has degree exactly $4$.
Now that we know $K$ has degree $4$ over $\mathbb{Q}$ and is Galois, it must have four automorphisms (this is the definition of Galois, that the number of automorphisms equals the degree). These automorphisms permute the roots of $(x^2 - 2)(x^2 - 3)$ and are defined by where they send these roots. They must send roots of $(x^2 - 2)$ to roots of $(x^2 - 2)$ and roots of $(x^2 - 3)$ to roots of $(x^2 - 3)$. But there are only $4$ different ways to do this. Therefore, every possible way of sending $\sqrt{2} \mapsto \pm \sqrt{2}$ and $\sqrt{3} \mapsto \pm \sqrt{3}$ is an automorphism. In particular, $\sigma$ and $\tau$ are automorphisms.
$\square$