Formation, persistence and decay of temporarily trapped states, the time-dependent generalization of resonances, are analysed within the framework of Bohmian Mechanics. More specifically, the so-called Bohm's total potential, the sum of classical plus Bohm's quantum potential, is used. It is found that both formation and decay are triggered by the frequency in the oscillations of the total potential. These oscillations have been studied at the specific locations where the classical potential displays maxima, i.e. the 'walls' temporarily capturing the system's density. Our main result is that the total potential oscillation frequency is solely dependent on the steepness of the classical potential ramp and, surprisingly, independent of the classical barrier height and width, well depth and width, collision energy or wavepacket width.