Hello,
You seem to be having onychomadesis which is separation and falling off of a
nail from the
nail bed. Common causes are trauma to the
nail, localized infection, nail fungi, allergy to nail enhancement products or some systemic illnesses. My sincere advice is to consult a dermatologist and get a histopathological examination, culture and biopsy of the skin around the nails and the nails done.
Hope it helps. Take care and regards.