It's not "Google" (corporations don't exist in the physical world, so they can't act in it), it was specific people at Google who destroyed evidence or lied to court.
And, very predictably, of course they didn't. Whether it's because they were careless, unaware, intentionally trying to hide things is another question. Regardless, it was an arrangement that basically guaranteed this sort of problem would happen.