My understanding is they use bluetooth for coarse positioning (e.g. you're within 30 feet) then they use a special chip (ultra-wide band) for the precision location (within a foot or two).
Of course, there's a good bit of magic within all of that to make it work seamlessly.
[0] https://en.wikipedia.org/wiki/Apple_silicon#Apple_U1