If you’ve noticed that your app pauses by itself, it could be that you’ve enabled features that hinder seamless playback. For instance, the battery optimization option for YouTube Music could be active.