I'm not an expert by any means. I think that any of the light that is used to generate electricity heats up the panel though. It has to. It can't just be destroyed. Some of that becomes electrons moving, which I assume counts as heat physically too, since heat is a measure of motion.
Again though, I'm far from an expert. This was just my layman's educated guess.