The boys built sand pillow and were resting from playing in the waves