Apple’s best in class manufacturing-supply line undoubtedly helped this a point or two. When iPhone could fill more orders where some others couldn’t is a default win.
Putting that aside, in the long term Apple is in a uniquely and significant advantageous position. Building their own SOC, writing the OS to suit the SOC, tightly controlled apps for the OS, soon to add some of their own built radios, ability to vertically integrate virtually their entire ecosystem. No one else can match this (Samsung is closest but not writing the OS and off the shelf SOC leaves them far behind). Imho Apple is now super leveraging this advantage and their iPhone and other eco parts will see increases in the near years to come.
No real shock there, generally what sales reports have been saying for the past year.
Samsung seems to be the only android oem with a contracting market share. They keep loosing ground, especially in the premium smartphone segment contracting 10% for the first nine months in 2021.
There will be back and forth. Two very large and successful manufacturers.