According to Einstein, why does the photoelectric effect occur?The photoelectric effect is due to the release of electrons from atoms.The photoelectric effect changes with the emission of an atomic spectrum.The photoelectric effect is related to the number of electrons in the shells around a nucleus.The photoelectric effect has to do with the number of atoms in a material.