Let $f = x^4 - 3x^2 + 18 \in \mathbb{Q}_3[x]$. Since there is an LMFDB page of an extension defined by this polynomial, I assume that $f$ is irreducible. Could you verify if this is true and also why that is (not) the case?
It is not an Eisenstein polynomial (as $3^2$ divides $18$, the constant coefficient of $f$). I also tried the substitution $y = x^2$ and asked myself if $g = y^2 - 3y + 18$ is irreducible. Its reduction mod $3$ is $y^2$ which is not irreducible, so I cannot say whether $g$ is irreducible or not.
As others have explained $f(x)$ has no zeros in $\Bbb{Q}_3$ because $x^2-3x+18$ doesn't have any. Therefore the remaining possibility is that $f(x)=g(x)h(x)$ is the product of two irreducible monic quadratics, $g(x),h(x)\in\Bbb{Q}_3[x]$.
For another way to a contradiction consider the following. The polynomial $f(x)$ is even. Implying that if $g(x)\mid f(x)$ then also $g(-x)\mid f(-x)=f(x)$. In other words, $g(-x)$ is also an irreducible monic factor of $f$. The same applies to $h(-x)$ as well. We have two possibilities:
No factorization exists, so $f$ is irreducible.