Update Graphic card driver. Visit the website of your graphics card manufacturer to download and install the latest drivers.
Make sure that both Windows 10 and Minecraft are up to date with the latest patches and updates. Sometimes, compatibility issues arise due to outdated software.
In the Minecraft Launcher, go to the "Installations" tab, select your game version, click on the three dots (...) next to it, and choose "Repair" or "Verify" to check and repair any corrupted game files.
If none of the above steps resolve the issue, consider reaching out to Minecraft's support or forums for further assistance.