Note that p>3 and p∣x3−y3=(x−y)(x2+xy+y2). Since x,y<p, p∤x−y. Therefore p∣x2+xy+y2. Similarly p∣x2+xz+z2, p∣y2+yz+z2.
Thus p∣(x2+xy+y2)−(y2+yz+z2)=(x−z)(x+y+z) and so p∣x+y+z.
Since x,y,z<p and p is a prime, x+y+z=p or 2p.
Since the parity of x+y+z and x2+y2+z2 are the same, it suffices to prove that p∣x2+y2+z2.
Now p∣x2+xy+y2=x(x+y+z)+y2−xz and so p∣y2−xz. Therefore p∣(x2+xy+y2)+(y2−xz)=x2+y2+z2 and we are done.