I doubt Christian dogma says they were murdered, since murder is wrongful killing and dogmatic Christians tend to NOT view God as doing things that are wrong.
It’s a little unclear what is meant by the tree of good and evil, since when those two categories were presented in a phrase back then it was a trope meaning everything.
I am not a big punishment advocate, but I suppose I can imagine scenarios where I would be angry at my children for finding out things I told them not to - perhaps around privacy issues or if the information was too adult for them (violent, say, especially combining sex and violence) or had to do with things I thought they were not ready to handle or I wanted to have a careful stepwise introduction of the knowledge or consult with my wife first. Given that the knowledge made them ashamed, I suppose their might be exposure to things that could be called knowledge I would want my children to stay away from - anything that made my children feel ashamed of themselves or their bodies - perhaps because they did not have the tools to interpret and place in context whatever this information was - I would not want them to come into contact without some parental guidance. And since I had told them not to - go online to specific websites or whatever - sure, I might do something punitive, especially if it was part of a pattern of not listening to me or us.
I find the whole Eden story quite open ended in terms of interpretation. Fundamentalist Christian interpretations are often pretty offensive. What the actual story is trying to get across, I don’t know and scholars seem to have different opinions. I feel a giant shrug.