What causes it?

It is unknown so far, but research has pointed to hormonal imbalance, stress, excessive heat, pregnancy, genetics, certain medications like antidepressants, and blood pressure medications, the inappropriate and unsupervised use of bleaching creams, and sun exposure, the greatest cause of hyperpigmentation.