Sorry this happened to your birds. So you saw them boink their heads on the top of their heads? This rules out aggression as the cause, but once bloody they tend to pick so you were right to separate the injured. Did you figure out what caused them to panic? Were they new to this pen...