It wasn’t at full power
The Death Star was not being used at full power. It only blew up a portion of the moon’s surface, not the entire moon.
“Target Jedha City,” he snapped. “Prepare single reactor ignition.”
Krennic concealed his resentment, calmed himself with the sounds of his breath and the tidal rush of the station reactor. This wasn’t how he’d imagined the culmination of twenty years’ work—a diminished attack, a grand moff’s power play—but it was the reality he contended with.
Rogue One: A Star Wars Story
Similarly with Scarif:
Tarkin looked to the viewscreen and to Scarif: an ocean-drenched sphere of islands rich with rare metals, useful as a construction outpost and research incubator away from the Senate’s prying eyes. But Tarkin would not miss it. Over the years, too many officers had treated it as a place for unofficial retirement; a tropical paradise where they could neglect their duty in comfort. The loss of the Citadel and the planetary shield would be a pity—but no more than that.
“Single reactor ignition,” Tarkin said. “You may fire when ready.”
Rogue One: A Star Wars Story
Perhaps Tarkin wanted to save the demonstration of the station’s true power for when he was in control of the station, and when he could properly impress the Emperor.