This was indeed a power supply issue: unable to supply 2.5A reliably without dipping.
A clue is the lightning bolt icon that appears in the top right of the screen.
As Dr_Bunsen suggested:
It would crash when performing heavy tasks, the CPU draining more power and causing a voltage drop on the supply. Also, dmesg is useful for diagnosing problems, ...