The issue is that the gyroscope doesn’t comply with specific Android requirements (see CDD/CTS for details). Those specific checks were not present in Android 7 and before, therefore we only had to disable it now since Android 9. LineageOS and /e/ are not certified by Google, so they are not affected by this.
We plan to re-enable the gyroscope again in some way in future releases, but we don’t have a clear timeline on that yet.