this is because the electrons are attracted to the protons, the stronger the attraction and energy level the closer the electrons are to the nucleus. this moves them to a higher energy orbital. For example in a Bohr diagram.
The experimenter observed this experiment in a lab rather than natural world because it might be dangerous to the atmosphere if he does the experiment in the natural world and it was still an hypothesis so that's why he did it in the lab.