Pixel ruler is not aligned with pixel grid

As described on the title. The pixel numbers going down the Y ruler don’t align with the pixels on the artboard as shown in the image. This is causing all sorts of issues.
What is going on?