It sounds like some sort of accident, as you've tried to prevent recurring, like getting its head caught in the feeder or the bars. If snakes can get in there then so can other small critters, like mice. It's possible they were all panicked and this caused the injury, which the spilled water makes me think of. Or it simply happened as a result of play.
Sorry this happened to you.
Sorry this happened to you.