As per the article "Time Travel Is A Fun Science Fiction Story But Could It Be Real?" the gravitational field is a representation of curving space and time. As the gravity becomes strong, the space-time get more curved and hence the time gets slower.