The child was wearing wet green pants at the beach