Black holes affect time
Just as a clock runs a bit slower closer to sea level than up on a space station, clocks run really slow near black holes. It all has to do with gravity.