Most often caused by a crush injury. This can be from a door crushing the finger. It can also be from a heavy object falling on the nailbed. Many are only mildly painful. Some are severely painful and throbbing. These need the pressure under the nail released. A doctor can put a small hole through the nail.