Most likely a digital license. Read on here.
https://support.microsoft.com/en-us/windows/reactivating-windows-after-a-hardware-change-2c0e962a-f04c-145b-6ead-fb3fc72b6665
--please don't forget to upvote
and Accept as answer
if the reply is helpful--