Now take a look at the active window. Its shadows are wider so it's easy to distinguish it from other windows. You can identify the active window without thinking about it because this is one way your brain identifies if one thing is closer to you than another.
Changing the colour of the title bar is not the same. You always have to think about "red is active - blue is inactive". It's not an automatic process.
Things like this divide intelligent from pretty.