the gas from the leavening agents builds up and escapes before the cake bakes through in the center. this causes the center to collapse and makes your cake layers sink in the middle. a little goes a long way when it comes to leavening agents, so it's imperative you precisely measure them!