Hello, Maisymae11.
That behavior would definitely make it tough to enjoy music, so we're glad you've reached out to us. In addition, thanks for the troubleshooting you've already done. Does this occur on downloaded or streaming music? Does your network connection have any effect on this, like does it happen on and off a Wi-Fi network? Does this happen with multiple audio sources or only one, like Apple Music for example?
While we wait on those answers, these other steps may help this behavior: make sure the iPhone is fully is up to date, close the music apps in use, then reopen it and make sure all apps are updated.
Let us know how this goes, please. Thanks and have a fabulous day!