You’re missing the part where the non-loyal German soldiers would face harsh consequences, including execution, for failing to follow orders.
I already addressed that..... American soldiers can also face harsh consequences for refusing "legal" orders. The legality of orders are determined by a military court which has a long history of being extremely biased toward protecting commanding officers.