All changes to the world are rolled back after certain period of time (Time to live = TTL)
The farther you are from the spawn zone the longer your changes will last (Blocks have greater TTL indicator).
Blocks TTL value increase as you move farther from the spawn zone