Drug or chemical substance-induced hyperpigmentation is mainly caused by abnormal metabolism in the body or deposition in the skin.