Generally that is usually a sign that your initial installation wasnt kept up to date or theres a windows 10 driver issue.
Ive had that a few times where a system is borderline on being accepted with slower RAM or a processor glitch.
Before you try to update, its a good idea to run a system file check
Go down to Search, enter CMD
in the popup, select Run As Administrator.
then type of paste this
SFC/SCANNOW
hit enter, go and have a ceffee or chill and watch the numbers slowly creep to 99%
Generally this resets all the system files from a repository in your machine to thier default settings. Replaces any that are kind of iffy or just plain broken or been changed or missing, then it sets the base of your system right.
Run WIndows Update and make sure you have anything that is on offer now that support is ended.
Restart your machine
Download the Windows 11 computer checker from Microsoft and see what hoops or fences you missed out. If it says ok, then let it do the tansfer to windows 11.