I’ve already fixed this issue, I’m making a post about it in case anyone else runs into the same issue because I was seriously considering buying a replacement main board. There’s a reddit thread about this exact issue but I don’t use reddit.
The fix: I cut and placed a small strip of thermo-pad underneath the battery connector pins.
How I diagnosed: I physically held the battery and put pressure on it into the battery connector pins on the main board and then I flexed/bumped/tilted the laptop to see if it would still shut down. It didn’t shut down, which means the issue was with an unstable battery connection.
At first my framework 16 was shutting down whenever I bumped or tilted it. After searching online, I reseated everything, everything down with 99% IPA, and used compressed air on everything but none of that fixed the issue.
After I did all that I checked each component (ram, wifi card, ssd, battery, etc) by unplugging everything except for that component and then seeing if it turned on. Everything except for the battery was working correctly even if I bumped it or tilted it.
After I did all that I started trying to reproduce whatever made it shut down when I bumped it by flexing the chassis while the laptop was on to see if it would shut down. I found that pressing down on the bottom right corner of the chassis would shut down the computer, and that press up from underneath the middle of the bottom of the laptop would also shut it down. At this point I figured it was a main board problem because the charging lights on the side indicated that the laptop was still able to receive charge after shutting down (which made me think the battery connection was fine, however, this was not that case).
After I did all that I was seriously considering buying a replacement main board since everything seemed to be fine, it’s just that it would randomly shut down whenever I flexed the chassis a certain way. As a final hail mary I decided to double check that the battery connection was actually stable by physically holding the battery and putting pressure on it to push it into the battery connector pins while I flexed the chassis the same particular way that made it shut down beforehand. The laptop did not shut down, which told me that it was a battery connection issue that would quickly resolve after bumping the laptop since the battery would fall back into place after the bump.
After identifying the issue I cut and placed small strips of thermo-pad underneath the battery connector pins so that the main board was slightly raised off of the chassis (if you have a secondary ssd then this might weaken the contact between it and the thermopad underneath it). This fixed the issue.