How much RAM do you have?
Next time this happens, after the computer reboots, can you give the output of
dmesg | tail -n 50
[ 52.073213] wlp1s0: authenticate with 98:77:e7:0c:77:16
[ 52.073642] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[ 52.073654] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 52.073658] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 52.073663] pcieport 0000:00:1c.0: [ 0] RxErr (First)
[ 52.079524] wlp1s0: send auth to 98:77:e7:0c:77:16 (try 1/3)
[ 52.081137] wlp1s0: authenticated
[ 52.081332] wlp1s0: associate with 98:77:e7:0c:77:16 (try 1/3)
[ 52.082454] wlp1s0: RX AssocResp from 98:77:e7:0c:77:16 (capab=0x11 status=0 aid=2)
[ 52.085206] wlp1s0: associated
[ 52.102382] wlp1s0: Limiting TX power to 30 (30 - 0) dBm as advertised by 98:77:e7:0c:77:16
[ 79.083331] gnome-shell[1226]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[ 82.628862] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[ 82.628874] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 82.628877] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 82.628880] pcieport 0000:00:1c.0: [ 0] RxErr (First)
[ 87.824031] rfkill: input handler disabled
[ 90.204912] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 93.080222] Bluetooth: RFCOMM TTY layer initialized
[ 93.080232] Bluetooth: RFCOMM socket layer initialized
[ 93.080244] Bluetooth: RFCOMM ver 1.11
[ 103.437901] systemd-journald[588]: /var/log/journal/f38d03abacdd4914bce6f780bcf29c6a/user-1000.journal: Journal file uses a different sequence number ID, rotating.
[ 103.902951] rfkill: input handler enabled
[ 107.538214] Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
[ 108.130988] rfkill: input handler disabled
[ 118.143876] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[ 118.143891] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 118.143895] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 118.143900] pcieport 0000:00:1c.0: [ 0] RxErr (First)
[ 121.697178] warning: `kdeconnectd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[ 149.553979] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[ 149.553992] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 149.553995] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 149.553998] pcieport 0000:00:1c.0: [ 0] RxErr (First)
[ 152.302672] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[ 152.302684] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 152.302687] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 152.302690] pcieport 0000:00:1c.0: [ 0] RxErr (First)
[ 187.309176] pcieport 0000:00:1c.0: AER: Multiple Corrected error received: 0000:00:1c.0
[ 187.309340] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 187.309345] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 187.309349] pcieport 0000:00:1c.0: [ 0] RxErr (First)
[ 195.964833] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[ 195.964845] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 195.964848] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 195.964851] pcieport 0000:00:1c.0: [ 0] RxErr (First)
[ 214.808239] pcieport 0000:00:1c.0: AER: Corrected error received: 0000:00:1c.0
[ 214.808251] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[ 214.808254] pcieport 0000:00:1c.0: device [8086:9d14] error status/mask=00000001/00002000
[ 214.808257] pcieport 0000:00:1c.0: [ 0] RxErr (First)