I asked what your installation type and hardware was because you are describing symptoms of an SD card going bad in a Ras PI…
How to Troubleshoot Raspberry Pi Crashing.
This often happens after an update where big blocks of disk space are loaded with the update code and the old file space is freed up with both actions possibly finding unstable memory locations. All SD cards go bad, some sooner than others.