Why is there such a huge difference between France and Germany on this issue?
Germany still has significant domestic coal reserves.
France pretty much ran out of coal decades ago and therefore invested heavily in nuclear technology and access to uranium ore (mostly in Africa), they are #2 in uranium consumption worldwide.
There was also probably a little thing in France about being dependent on Germany.