Hello Michael,
Welcome to Microsoft Q&A forum. It's my pleasure to help you today.
I understand that you are having issue running Minecraft through the Minecraft launcher. As I checked, the error code is pointing to an outdated Java or Launcher. So, the first step in this case is to check whether the launcher or java have any updates. Since you have already reinstalled the launcher, that left Java is the other possible cause. Can you please go to Java official website to download the latest version and install it, and then try to run the launcher again?
Before we proceed further, may I know when did the issue start? You said that the game can be played if launched via Cursed Forge, which as I know is a mod library for games. There is a possibility that a recent installed mod that cause this. Could you please try to remove all mods, then restart the computer and try to open the apps again?
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.