What could cause a sudden loss of sour flavor?
It may have been the act of leaving the plums on top of the cake, covered overnight at room-temperature. This might have concentrated the natural ethylene produced by the plum enough to cause it to ripen by breaking down the starches and turning it into sugars.