Thank you for your query
over the clitoris
is mostly an infection. It can be fungal or bacterial. I am sure the ointment prescribed by your pediatrician
would be covering both. On your part you can observe better hygiene at that place. Apply some oil or powder to reduce some amount of itching. Keep the girls fingernails trimmed. Giving her Sitz bath is also useful. Make her sit in luke warm water for 10-15 minutes, 3-4 times a day. If it is still recurring you should report to your pediatrician again. I am sure she will improve.
Hope that helps.
God bless you