This is called ‘phosphorescence’ and it’s a quantum effect.
Electrons in atoms and molecules are ‘quantized’, which means that they can only have certain well-defined energies – it’s as though a car can only be driven at 10 mph, 20 mph, 30 mph . . . and not at, say 27.436 mph. Electrons can gain or lose energy by ‘jumping’ from one energy level to another – a so-called ‘quantum leap’ (QL); so next time you see a news headline banging on about ‘a quantum-leap forward for the treatment of cancer (or whatever)’, remember that a quantum leap is an infinitesimally small change in the energy of a sub-atomic particle in an atomic, molecular or ionic system; a ‘quantum leap forward for the NHS’ is nonsense – journalistic bollocks.
The energy that is gained or lost by an electron when it undergoes a QL is in the form of a photon (particle) of electromagnetic radiation, and can be anything from low-energy, long-wavelength radio waves to high-energy, short-wavelength gamma rays or X-rays, taking in visible light
en route.
If you shine a flashgun at a formation, then an electron in some substance in there (I don’t know whether it’s the actual calcite or an impurity) can absorb a quantum of high-energy, ultra-violet radiation, and thus find itself in a high energy level. It happens that the gaps between energy levels get smaller as you go up the scale, as illustrated schematically in the diagram.
View attachment 16134So – imagine our little electron, somewhere inside a stalactite, minding its own business happily whizzing round in its ground state orbital (domain) (A); suddenly it gets zapped by a photon of UV light and undergoes a QL from level A to level X. At this higher energy, the system is intrinsically unstable and starts to lose energy, but instead of re-emitting a quantum of UV light of the same frequency that it absorbed, it emits a series of low-energy (radio-frequency / infra-red?) quanta, as it ‘trickles’ back down through the energy levels. When it finally gets to level B, its first excited state, the last gap, from level B to level A, is the largest gap on the ladder, and it corresponds to visible light – specifically in the case of stalagmitic material, green light.
Phosphorescence is pretty much the same as fluorescence that you observe under UV lights in night-clubs and so on – the difference being that fluorescence is an immediate phenomenon that stops as soon as the UV light is turned off (as far as the human eye, at any rate, is concerned), whereas phosphorescence takes a few seconds to happen, and so can be observed by shutting your eyes, firing a flashgun at a formation, and immediately opening your eyes.