When opened, it shows this for 3 seconds and closes. Minecraft doesn’t open, and if I try again it does the same.

I tried to search it up, but repairing/resetting it and running as administrator didn’t work. My default antivirus says nothing is wrong, and my computer should be updated. It’s a Microsoft Windows 11 Pro. If you can help, thank you so much!
Minecraft Launcher Not Working