Windows Explorer and Windows Photos rotate the 1000x1000 image losslessly, without removing any pixels.
Couldn't XnView do the same, or is such behavior wrong somehow (against jpeg specs, maybe)?
It depends on the JPEG's chroma subsampling :
Rotations where the image is not a multiple of 8 or ...