not all music can make a glass break but if the pitch of the music is hight enought, say a soprano voice, then the frequency of the sound is enough to make the air inside the glass vibrate. if the vibrations are strong enough , then yes, the glass will shatter.