Since whole wheat flour contains both the bran and germ of wheat, which is coarser in texture, resting the batter before baking gives the liquid a chance to hydrate the bran and the germ and soften it first.