I'm not sure this shows any emotion, though admittedly I only have experience with a different species of tree frog.
I've abandoned all my previous ideas about what causes color change- though sometimes it can be in response to cold or darkness, most of the time it seems completely random.
Red-eyes, since they're a completely different species, might have more significance to their color changing though.