'committed suicide' is leftover from a time when suicide was considered a crime. 'Dying by suicide' is more accurate and more empathetic.
It's a crime against software. Real programmers one-shot their code in ink on paper, type it in verbatim, and run it without errors the first time around.
People came up with "unalived" to get around censorship built by idiots who think they can trivially police language like this, now unalive is being used viciously by unkind people