Media controls take priority
Prior to Android Pie, when you were listening to music and wanted to adjust the volume of only the music, there wasn’t a simple way of doing so. You could use the volume buttons, but that would adjust the system volume setting for your phone.
After installing Android Pie, the volume keys will default to controlling media volume.
Also, notice the new look of the volume controls? Neat, eh?