Does "shatter" mean the same thing in these two sentences?

A high-pitched voice that could shatter glass.

The old oak tree has been shattered by lightning.
the same meaning