Android had audio latency issues for a long time, and I think they were originally related to the fact that Linux also had high latency audio. I was under the impression that these were much better now:
https://android-developers.googleblog.com/2021/03/an-update-...
I haven't heard about issues with latency in iOS audio, but the iPhone 8 is certainly not "modern". Are you using bluetooth headphones? Which apps are you using to play the audio?