Even if you use your own rooftop solar panels to charge your EV, you are still increasing fossil fuel usage as you could have put that electricity into the network and driven an ICE car. Net result is an EV running puts as much CO2 into the atmosphere as an ICE.