Ionic compounds are generally hard, but brittle. ... However, when that happens, it brings ions of the same charge next to each other (see Figure below). The repulsive forces between like-charged ions cause the crystal to shatter.