From the pic it just looks like it hit it head on something in the tank. Maybe got startled, and bumbed itself on something. If your waters are good it will heal up in a few days.
In this pic, you can see that my GT Hotlipz did it to herself and they healed up fine in a couple days.