Funny, when you look at the three corrected photos, the lower one looks better and it didn’t have the right color balance to begin with. I can’t wait for your tool to be finished. I have a ton of photos that need this kind of help.
Well, the third shot did have the right colour, if for example it was shot at sunset.
With a setting sun, the girl and scene would have been bathed in golden light. The correction tool in this case is correcting back to how that scene would have looked if lit with a 5455 Kelvin light source, if I understand correctly (I’m a bit dehydrated and delirious, so could be wrong).
(I know they were all shot at the same time of day, I’m thinking hypotheticals here, if you actually took those shots morning, noon and at sunset)
I think the reason it looks the best corrected back is just because that white balance setting on the camera happened to expose a little better, maintaining the highlights.