So I know there's a lot of data there and I've found that while each side usually reports things in a similar arrangement, because one has certain things and does not have other things, the sequencing all does appear mixed up between A and B.
I'd check the most likely differences that seem to be related to terminal behavior, and that's unfortunately a lot of them.
Many years ago I had some behavior that wasn't working for me uniformly, these stty settings, if you can guess, also apply to serial terminals and USB serial terminals. I actually had a program which glitched on certain data and my solution was finally to use what they call -raw mode. That is an actual mode for stty, or actually
termios(3) which is what all this is related to. That's the programming side of things just so you know.
In the end, I was attaching and trying different settings +parenb -parenb, you can set those on or off using + or -. And I found a few key things which affected the behaviors related to my specific problem.
The other thing is I fully trust those outputs you have, never paid enough attention, but notice how it says "erase = ^?", there? I'd give CTRL-? a try just for a test.
Sorry, I know there's no easy answers here, I'd actually start with setting it to +raw mode and see how it behaves.