Why does my r6 close??

I had a second monitor connected and I saw some guy recommend unplugging the monitor from your computer and I did but it just keeps doing this. My pc can run siege because it has before this but I don’t know why it keeps doing this . My specs are 2050 and a i5 12450H