Windows 10 licenses are tied to the system hardware. Specifically, the motherboard. If you attempt to transfer a Windows OEM or volume license to a new computer (e.g., with a different motherboard), the Windows license check system will reject the new hardware.
How To Transfer a Windows 10 License To a New Computer @ Help Desk Geek