It is a myth that high pitch alone breaks glass. The phenomenon depends on frequency and amplitude matching the glass's natural resonant frequency—not merely a high note.
Every object has a frequency at which it naturally vibrates. If a sound wave hits that exact frequency with sufficient volume (amplitude), energy transfers efficiently into the glass, causing sympathetic vibration. If the amplitude is high enough, the vibration exceeds the glass's structural limits, and it fractures.
A trained opera singer can shatter a glass by sustaining the precise resonant note at high volume—but it's the frequency match + volume, not the pitch height, that does the job. A low note at the right frequency could theoretically work too.