1. Google spends a lot of quality dev hours programming "fun" easter eggs/doodles/April fools sections into their products.
2. These efforts gain a lot of positive spin in the media.
3. This positive spin helps to improve the image of the corporation as a fun place to work/do business with etc.
Now given how many hours that go into some of these efforts, I find it difficult to believe that at least some of them must be mandated by management, but to me that's irrelevant: I'd much rather see all of this dev time being spent on:
1. Making Google's products better.
2. Contributing to an OSS project.