Have anyone noticed how, when you autofocus on a particular point in the frame, if you repeatedly press the shutter button half way, the focus will jump around ever so slightly backwards and forwards? Even if you keep the camera still.
The lens is therefore unsure as to the distance to focus on and it follows that the image is unlikely to be correclty focused.
This may explain how, when I take two shots of the same image, one is better focused than the other.

