If $\log(10^2)=2$
and $(\log10)^2=(1)^2=1$
Then
$10^{\log(10^2)}=10^2=100$
But what about
$10^{(\log10)^2}$ ?
We get 2 solutions:
A. $10^{(\log10)^2}=10^{\log10} \times 10^{\log10}=10^1 \times 10^1=100$
B. $10^{(\log10)^2}=10^{1^2}=10^1=10$
What gives ?
You have missed the fact that $$a^x a^y = a^{x+y},$$ not $$a^x a^y \ne a^{xy}.$$ Hence, in (A), $$10^{(\log 10)^2} \ne 10^{\log 10} 10^{\log 10} = 10^{2 \log 10}.$$