The hacker actually has incentive to fulfill their end of the bargain. If they didn't, the victim might go public with this, and then no one would ever pay the ransom.
The hacker wants to be trustworthy here so that new victims will be more likely to pay the ransom because they believe they will actually get their data back.