It's not difficult to see that $S^{2n}$ doesn't admit a Lie group structure. Since if $S^{2n}$ admit a Lie group structure, then there exists a left invariant vector field. While the Hairy ball theorem says that there exists no continuous tangent vector field on $S^{2n}$ non-vanishing at every point.
Now we want to prove that $S^{2n}$ admits no topological group structure. It follows from the well known theorem: a topological group G that is a topological manifold must be a Lie group. However, I want to give a direct proof without using this theorem.
Identify $S^{2n}$ the unit sphere in $R^{2n+1}$. For any two points $v_1,v_2\in R^{2n+1}$, denote $\langle v_1, v_2 \rangle$ the standard inner product. If $S^{2n}$ admits a topological group structure, let $e\in S^{2n}$ be the identity element, $\cdot$ the binary operation. Choose a unit vector $v$, s.t. $\langle e, v \rangle =0$. Then $v\in S^{2n}$. For any point $g\in S^{2n}$, $g\cdot v \in S^{2n}$, however, we don't have that $\langle g\cdot v, g \rangle=0$. So we project $g\cdot v$ to the tangent space of $g$, define the vector field by $$ X_g=\frac{g\cdot v-\langle g\cdot v,g \rangle g}{\|g\cdot v-\langle g\cdot v,g \rangle g\|}. $$ As Will Sawin pointed out to me, if $g\cdot v=-g$, then $g\cdot v-\langle g\cdot v,g \rangle g =0$. So how to adjust the construction of $X_g$ to get a nonvanishing tangent vector field?
Thanks for Will Sawin's (1 2 3), Pierre PC's (1 2), and Moishe Kohan's (1 2) comments.
It's known that for any continous map $f: S^{2n} \to S^{2n}$, there exists some point $x\in S^{2n}$ s.t. either $f(x)=x$ or $f(x)=-x$. Because if no such $x$, then $f$ is homotopy to identity map and antipodal map (degree=-1), contradiction.
If $S^{2n}$ admit a topological structure, as Moishe Kohan comments, then for any $v\neq e \in G$, the map $g \in G \to v\cdot g \in G$ is a continous map, and there is no $g$ s.t. $v\cdot g=g$. As Pierre PC comments, by the compactness of $S^2$, we can choose $v$ close to $e$, then $v\cdot g\neq -g$ for any $g\in G$.
Maybe this argument is known to experts.