This happens to me sometimes. It's a bug when battle music is playing, or not playing, and you transition areas.
The game seems to confuse battle music for whatever music is playing.
So it may think battle music is ambient music.
Sometimes, it may even confuse dragon fighting music for normal battle music.
That happened to me today, actually.
I don't know. Just a strange theory that seems likely.
