Einstein postulated that light consists of discrete packets of energy called photons. Using this, he successfully explained the photoelectric effect.
Another work of Einstein's is that of relativity. According to the special theory of relativity, simultaneity is not absolute.
Let's consider a set-up for the photoelectric effect. The lamp is switched on at $t=0$. The galvanometer registers a deflection at $t=\tau$. We know that $\tau$ is very small, as the deflection of the galvanometer and the switching on of the lamp are often termed as simultaneous (when explained in contrast to classical theory predictions). The $\tau$ may be ignored as per convenience, as far it doesn't affect the answer considerably.
Consider an observer travelling at relativistic speeds, looking at the set-up. Depending on his direction relative to it, he will either see:
The lamp is switched on. The galvanometer shows a deflection a certain time after this.
The galvanometer shows a deflection. The lamp is switched on a certain time after this.
How is this discrepancy due to the observed non-simultaneity explained by the observer?