Melasma usually occurs during pregnancy due hormonal changes.In a child who is 8yrs discoloration of upper lip
skin could be due to multivitamin deficiency
or it may be some kind of dermatitis
if the skin is dry and flaky.
I would suggest that you could apply some moisturiser and get her examined by a dermatologist
who could prescribe few creams to eliminate the discoloration .