There's obviously no ecological impact of mining and refining fossil fuel. The Deepwater Horizon actually reduced the amount of oil in the ocean.
And unlike batteries, which are non-recyclable and always have been. It's common to throw the lead-acid battery from ICE vehicles into the nearest body of water, for example. It's definitely not the case that 99% of them are recycled today. Whereas recycling coal and oil is trivial and done all the time. /s