If a child has experienced enough abuse or other traumatizing experiences, one could guess that it would be possible for the child to want to kill themselves.
Or maybe it could even just happen by accident. A child could see someone commit suicide on TV or something and then just mimick the act, without fully realizing what they’re even doing.
I’m sure others with have more well informed answers, but I just found this question interesting so I wanted to say my ideas.
I just found an article but I can’t figure out how to link to it right now. A six year old boy committed suicide. They knew that the boy had some anger issues from his parents’ divorce but they can’t be sure if he knew exactly what he was doing or not.