A young girl in a riding outfit is sitting on a horse holding a teddy bear.
The girl is riding a horse.
IN THIS SENTENCE IT EXPLAINS SITTING ON THE HORSE IS EQUAL TO RIDING  A HORSE.
Because the girl is sitting on a horse, it could be said that she is also riding the horse as well.
girl in a riding outfit is sitting on a horse so she should be riding a horse.