Thanks for the query.
Probably you have got a nail matrix injury
If the matrix gets permanently damaged, it is very difficult for proper growth to happen.
Please meet a dermatologist
for exact diagnosis.
Let me know if you have any other doubt.
you can ask a direct question to me on this forum, following the below link.
Wishing you a good health.