It is the hormones. Hormonal changes during pregnancy causes skin pigmentation. It will mostly subside after delivery.