The screen tearing occurs when the refresh rate of the display and the refresh rate of the GPU are out of sync. This causes horizontal tearing in one or more areas of the image.