Is energy always conserved?

But how do the laws of physics change when spacetime experiences gravitational waves and curvature? Wouldn't those be considered as permitted by the same laws of physics that we already have? 

What is it about those changes in spacetime that causes the energy to not be conserved?