You over-mixed the batter. This will cause the gluten strands to overdevelop and give you a dense cake.