Why, after absorbing a photon does an atom's electron 'fall' back to its ground state (what causes it to immediately lose its absorbed energy)?
The answer by @Davidmh gives our observations from classical physics, where we formulated the quantities "energy" , "potential" etc. We observed that this was so, an apple falls, and brilliant mathematics organized these observations into equations that can predict what will happen. So the real answer to a "why" in physics is "because we have observed that it does so". Physics then answers "how" this happens, by referring to the mathematical models constructed to describe how.
Now electrons and photons are not classical particles, they are quantum mechanical entities, working with different models of nature in a different framework. Still, there is continuity in physics, and the concept of Energy and Potential energy has been retained, and at the limit classical emerges from quantum mechanical, the underlying layer.
So the answer to "why" at the electron atom photon level is really "because that is what we have observed". BUT we have a very good mathematical model to explain the "how" this happens, which is predictive of future behaviors also. This is as follows:
A photon hitting an atom has a probability to interact with it, be absorbed, and raise the atom to a higher energy level. This probability can be calculated with the tools of quantum mechanics which also predict that once the electron is on a higher energy level, there exists a strong probability that it will fall back to the ground level emitting a photon with the appropriate energy. One can think of it with the Heisenberg Uncertainty principle , too. The higher energy level has a width, delta (E) which means that it has a lifetime delta(t) of existing, it is unstable.
Our models are very good and successful, and we tend to think that they answer "why". For example in this case we will say "because the energy level has a width and from the HUP it will have to decay", but in truth, we are just answering "how" within our model this happens.
That is a general property of our universe: things tend to the state of minimum energy and maximum entropy.
If you want, the answer is thermodynamics.