Apart from whether the hardware can deal with any updates there’s also the cost.
Fairphone had to pass near 500,000 Google set tests before they could release Android 9, than takes resources of the money kind.
The less sales the less money, the less updates, so a comparison to Apple is hardly appropriate when speaking of a Fairphone.