I guess it's possible it was due to injury, but my experience is that most of the time when a fish appears to have an injury it is really an ulcer/fin-rot/hole-in-head/other sign of systemic disease. I hope yours was just an injury, but check all the others carefully and make sure you don't have an outbreak of something.