Origin of compression-induced failure in brittle solids under shock loading