Because prior art is a defensive patent invalidation or prevention technique. If Google doesn't file this patent a troll will, and they will aggressively sue companies (Google included).
Google is doing what it has to to protect itself. Blame the system.
They could have cc'd Jarek Duda, and avoided the appearance of pulling a fast one on the real inventor, putting their name on someone else's homework. It just looks sleazy.