OW doesn't deal with ticketting and changing names. That's between airlines and complicated here because AA and BA don't use the same systems.
The agent might have contacted AA OW liaison desk (which are AA staff in AA offices who deal with colleagues on other ailines OW desks) to then communicate with BA