The music should not stop as it has been set to loop... but you're the second person to bring this up. Hmm, maybe a glitch somewhere. Will need to further investigate this.
Also, it seems to happen to firefox browsers it seems. Here is one such post:
https://forum.gdevelop.io/t/audio-files-are-not-looping-in-firefox/37034