Inhomogeneous response of an ion ensemble from mechanical stress