Thanks for the query,
This occurs when platelet levels are lower.
Please get your platelet levels checked.
If you get it recurrent,
Please meet a dermatologist
for exact diagnosis and treatment.
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.