Why doesn't iOS use an 8-point grid system?

I am a UI designer. I have seen the official Apple Figma file for iOS17. I found many places where the margins, padding, etc. of components are 5px, 7px, 11PX, etc. What is the reason for doing it that way instead of using 8 point grid system?