Sanderson always said one of the reasons he had trouble writing Mat was he just didn't have the life experiences that Jordan could draw on. A lot of Mat's glibness as the books develop comes from that mix of memories he has, which gives him a totally different perspective on a lot of things most people his age have, not just on Ryan Reynolds style wisecracking. Which is why his humour feels different in the last few books that Sanderson authored.