Their difference is the same as F =
fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f
This is the finite field over which secp256k1 is defined. It is more commonly given the symbol
p. Any calculations done in secp256k1 need to be done modulo
p.
So to invert a y coordinate over the x axis like this, you simply do -y =
p-y
This explains why the difference between your two y coordinates is
p.