Einstein was heavily inspired by Mach: https://en.wikipedia.org/wiki/Mach%27s_principle