due to hair removal creams, cosmetic creams (especially anti-wrinkle) or even fluorinated toothpaste.
It can even be caused by some cosmetic procedures like threading, waxing etc.
Why some people react and others don't is due to one's genetic predisposition.
You can apply Azelaic acid cream or a combination of kojic acid/glycolic acid etc., which are skin lightening agents.