We do need to keep in mind that the iPhone is overall a very quality piece of phone hardware (although I’m no fan of their restrictive OS philosophy), and also that this is a pure camera rating (not an overall phone rating).
But it also shows how really good the Huawei hardware is. Another thing that becomes clear from these ratings is, more megapixels does not equal the better camera. The Google Pixel series has also been proof of there, with Google really pulling way ahead, with more credit to the software than the hardware.
These are real world benchmarks though, and nothing at all to do with specifications on paper or marketing fluff, which is why I like them.
See https://www.dxomark.com/apple-iphone-15-pro-camera-test/