Here's the real skinny:
no one has any idea why they change color. Some people argue that the yellow is their stress coloration while other argue opposingly. Some say water parameters have to do with it, etc, but really, none of this stuff has been proven in the slightest. All we know is that they posses the inherent capability to change their colors thusly. I have seen full yellows in absolute crapholes while I have seen dark specimens in th best and most dedicated of tanks, most notably one Singaporean who had attempted for quite a while to breed them (in case you're wondering, tony, akoh :0).