Windows 10 upgrades can fail for a number of reasons. Digging through the setup logs to determine the reason it failed can be frustrating and confusing. Microsoft has an application called "setupdiag" that will help you determine specifically what caused the upgrade to fail by parsing through the logs for you.

https://docs.microsoft.com/en-us/windows/deployment/upgrade/setupdiag