Why do US service members obey orders in an illegal war led by Trump?

The war itself is illegal and therefore orders given in the war are also illegal, especially the furtherance of the illegal war and they are given by Trump who himself is a criminal. I don't understand why they are obeyed.
Why do US service members obey orders in an illegal war led by Trump?
Post Opinion