If you capture prisoners, they surrender to you.
Which of these sentences doesn't make sense?

A) "caesar captured a lot of prisoners, to whom he surrendered"
B) "caesar captured a lot of prisoners and they surrendered to him"