They re-reviewed the Pixel with a new test protocol, and the iPhone 8 is being compared to the results from that new test, whereas you're quoting the old values: https://www.dxomark.com/google-pixel-camera-review-retested-...
Edit: Also one day before the iPhone event on September 12. The purpose was clearly to create a situation under which they could have the iPhone win.