After a blow to the fingernail or toenail, an injured nail will commonly collect blood underneath in a condition called subungual hematoma. Nails can also accidentally be torn or split, or a splinter can get under the nail.