The fat and sugar were never properly creamed
Very commonCreaming works by dragging sugar crystals through plastic fat so that they cut air into it, and the air is held in the fat’s crystal network. That air is what the chemical leavener later expands — the raising agent enlarges cells that already exist rather than creating new ones. So a creamed cake with too little beaten-in air has less to expand, whatever quantity of baking powder it carries. The stage fails in both directions: fat too cold does not yield and the sugar cannot cut into it, and fat too warm has lost the crystal structure that was going to hold the air. Melted butter fails completely and cannot be recovered by chilling, because the crystals reform coarser than they were. This cause is specific to the creamed family. A foam cake has no fat to cream and an oil cake has no crystals to hold anything.
What to change
Cream until it visibly changes, not until the timer says so
Start with butter that is plastic — cool enough to hold a shape, soft enough to take a fingerprint — and beat with the sugar until the mixture has gone from yellow to near-white and has visibly grown. If the butter is too cold, cut it small and wait; if it has gone greasy and slumped, it is too warm and chilling briefly will recover it. Butter that has actually melted will not recover at all.
Creamed cakes and creamed biscuits. It has no bearing on foam cakes, oil cakes or anything mixed by the muffin method.
Trade-off: Creaming too far is possible in a very warm kitchen, where continued beating warms the fat past the point where it holds air. The colour change is the signal to stop rather than a licence to keep going.