That’s because the President can’t ban it if they wanted to. From this very article:
While there are several ways Harris, if elected president, could halt fracking on federal lands using executive power, she wouldn’t be able to unilaterally ban it on private land. Under a 2005 law, the Environmental Protection Agency has almost no regulatory power over fracking. Changing that would require an act of Congress.
That’s because the President can’t ban it if they wanted to. From this very article:
There’s little reason to change your stance then, other than to virtue-signal to the right
I prefer to think of it as vice-signalling