If an external force is applied to ionic compounds the layers of ions will slip over one another and ions of the same nature come near one another in one line. As a result, a strong repulsive force acts between them, so the ionic compound is brittle, as they may break.