Why do game companies build their own game engines?

Uh, Source was evolved from GoldSrc which was evolved from Quake 1 I believe.