There is a lot of detailed research into why dogs do this, in summary, it is due to their wild dog heritage. Their ancestors are survival and hunger driven animals. Wild dogs eat quickly because someone else might come and steal it from them and they didn't know when the next meal is coming.