changing phones not service
if the other Moto X is a Republic version you need to activate as a replacement
if it’s not a republic version you will not be able to
I would just like to add that if you were not the previous user of the Moto X you wish to transfer service to, a Factory Reset prior to doing so is best practice. If you were the previous user of the phone, no need to bother.