If $a^2+b^2=c^2$ and this is a Pythagorean triple, then as mentioned, both $a$ and $b$ can't be even. If they are both odd then $a=2a'+1$, and $b=2b'+1$, $4a'^2+4a'+4b'^2+4b'+2=c^2$. But $c$ has to be even so $c=2c\implies c^2=4c'^2$. Contradiction, so one of $a$ and $b$ is even and the other odd.
WLOG $a$ is even and $b$ is odd. Then $c$ is odd.
$a^2=c^2-b^2=(c-b)(c+b)$
$a=2a', \ 4a'^2=(c-b)(c+b)$
$a'^2=\frac{1}{2}(c-b)\frac{1}{2}(c+b)$
$gcd(c-b,c+b)|2c$ and $gcd(c-b,c+b)|2b$. This tells us that $c-b$ and $c+b$ are relatively prime, apart from the factor of 2 since were they to have any other factor this would imply $gcd(b,c)>1$ contradicting these forming a Pythatogrean Triple.
It further follows that $(c-b)/2$ and $(c+b)/2$ are perfect squares.
Let $\frac{1}{2}(c+b)=n^2$ and $\frac{1}{2}(c-b)=m^2$
Then $c=m^2+n^2$. $b=n^2=m^2$.
$c^2-b^2=m^4+n^4+2m^2n^2-(m^4+n^4-2m^2n^2)=4m^2n^2=a^2$
So $a=2mn$.
All told, we see that the hypotenuse, $c$ is the sum of two squares.
The square of a number is congruent to 0 or 1 modulo 4. It follows that the sum of two squares is always $0,1,$ or $2$ moduloe $4$, but never 3.
So $c$ is odd and never congruent to $3$ modulo $4$. It follows that $c$ is always congruent to $1$ modulo $4$.
Suppose $x=r^2+s^2$ and $y=p^2+q^2$.
Then $xy=(r^2+s^2)(p^2+q^2)= (r+is)(r-is)(p+iq)(p-iq)=(r+is)(p+iq)(r-is)(p-iq)$
And $xy=[(rp-sq)+i(rq+ps)][(rp-sq)-i(rq+ps)]=(rp-sq)^2+(rq+ps)^2$
In other words, the product of two integers each expressible as the sum of two perfect is itself expressible as the sum of two perfect squares.
So if $p\equiv 3 \pmod {4}$ and $p|c$, then $p^2|c$
$p^2|c \land p^2|m^2\implies p^2|n^2\implies gcd(b,c)>1$, a contradiction.
$m^2+n^2\equiv 0 \pmod{p^2}$
GAUSSIAN INTEGERS. TBC