In a collaborative effort, Apple and Google have developed an industry-standard detection feature called “Detecting Unwanted Location Trackers” (DULT) for Bluetooth trackers. This standard allows users on iOS and Android devices to be alerted if an unknown Bluetooth tracker is monitoring their location.
They could easily put it in both and then use whichever is most up-to-date (would probably default to play services on any non-AOSP or degoogled ROM), which is what they would do if they actually cared about protecting users. But that would recognize degoogled ROMs as a legitimate platform, which Google doesn’t want🙄