Arrow of Time Emerges in a Gravitational System