Though classically spacetime appears to be an absolute background, general relativity reveals that spacetime is actually dynamical; gravity is a manifestation of spacetime geometry.
The dynamical nature of spacetime, via the Hole argument, implies that the theory is diffeomorphism invariant.