The girl is petting the goat during a school trip to  a local farm