Sure a big salary is nice but especially Google hasn't done much in the last decade to make it look there is exciting, or even just satisfying, engineering happening there.
Not to mention, people like to work on things with meaning or value.
Google cancels so many things, so much work and code tossed, and with entire projects, the point of entire projects axed, how can anyone there feel there's a point to their work?