For real column vectors, the dot product equals $x^Ty$, a $1\times1$ matrix identified with a scalar. By contrast, $xy^T$ is an $n\times n$ outer product. Checking dimensions distinguishes these two operations.