The dog runs next to the crashing waves of the ocean .