One of Einstein's postulates in formulating the special theory of relativity was that the laws of physics are the same in reference frames that
accelerate
move at constant velocity with respect to an inertial frame
oscillate
are stationary, but not in moving frames