Hi, Thanks for query,
It seems that your daughter is having Acute ear infection
causing all problems.
It is also possible that she might have boil in the external ear and now it is burst and open.
Consult your doctor and get examined.
With antibiotic and anti inflammatory medicine she will be alright.
Ok and bye.