I kinda always viewed it as Betty was depicted a young woman, while Pete, still an insecure teenager, but nevertheless a boy kid.
And when Ned Leeds started to creep in, Pete witnessing the sight of Betty "seeing" someone more cultured and closer to her age, further insecuring him up, and eventually coming to terms, that he was just a boy, playing boyfriend to a woman.