The oil doesn’t stay in the ground, it gets shipped via diesel trains without the pipeline.
I’m guessing climate change is the reason, but it’s hard to see how the current state of affairs is better for the environment. Diesel trains are a lot less carbon friendly than pipelines.