Kamala Harris and Donald Trump clashed on energy policies, focusing on fossil fuels and climate change in their first 2024 presidential debate.