While it is certainly possible that is why she got the upgrade, there could be lots more to the story.
I doubt UA would support that decision. Gate agents usually aren't given discretion to upgrade whomever they want, I'm not positive if that is the case with UA.