It can easily be a smokescreen for, for example, racism (perhaps unintentionally).
Certainly, and it puts the company at risk of a discrimination suit along with the associated fallout when you have arbitrary whim based termination practices like this.