Just used my voltage drop calculator. 12 volts on 12 gauge wire will drop .8 volts at 8 amps on a 30 foot run. The truck is referencing its own battery and charging accordingly. So, the trailer battery is never going to get enough voltage or current to do more than a trickle charge.
I also checked my truck and see that it has a 30 amp fuse on that wire to the connector. That's interesting. A chart shows you can only get 30 amps at the end of a 10 foot long 12 gauge wire at 12 volts. In other words, if there was a short maybe 25-30 feet away in the RV on that line, it would probably never blow the truck's 30 amp fuse.