Roller skaters and roller bladers get this problem frequently. They get it because it is crucial to have a very snug fitting boot for serious skating and blading. The result is that sometimes the pressure on the nails is too much and damages them. Sort of like a black eye but worse in a way.
It's pretty certainly due to lots of pressure on the nail.