Do positive semidefinite matrices have to be symmetric?

No, they don't, but symmetric positive definite matrices have very nice properties, so that's why they appear often.

An example of a non-symmetric positive definite matrix is $$M=\pmatrix{2&0\\2&2}.$$ Indeed, $$\pmatrix{x\\y}^T\pmatrix{2&0\\2&2}\pmatrix{x\\y} = (x+y)^2 + x^2 + y^2$$ which is strictly greater than $0$ whenever the vector is non-zero.


As Daniel mentions in his answer, there are examples, over the reals, of matrices that are positive definite but not symmetric. The usefulness of the notion of positive definite, though, arises when the matrix is also symmetric, as then one can get very explicit information about eigenvalues, spectral decomposition, etc.

In the complex case, any positive-definite matrix is selfadjoint.


Let me just add that there exist a branch of optimization and variational analysis in which the notion of a nonnegative definite matrix which is not symmetric is fundamental. Consider a smooth convex function; by convexity its Hessian is nonnegative positive definite while by Schwarz Theorem, it is also symmetric. However, there exist "non-gradient operators" i.e. which do not integrate into a function but still possess a notion of convexity. This is the notion of a monotone operator, which in the smooth case, its Jacobian is a nonnegative definite matrix which may not be symmetric.