Here are the steps to prevent that from happening:
Taking following action just once on a computer will solve this problem permanently for that computer.
Right click at Volume button on taskbar
Click Open Volume Mixer
Click on the icon for System Sounds
Go to the Communications tab
Select Do Nothing
Click Apply, then click Ok
Now the volume won't go down automatically, and you can close these Settings windows.