Question: why does jaime go back to cersei?
Answer: According to David Benioff, Jaime cares about Brienne, admires her and loves her but he is addicted to Cersei so he has to go back to her. It feels rather awkward after he consummated his relationship with Brienne. Even more awkward after he knighted her and fought together for Winterfell.