Typically, a cake falls apart when it has been overbaked. This can also happen when you cook at too high a temperature.