Welcome to the boards!
Here are your two photos (Google doesn't typically allow direct in-line linking with the links they give you, but it can be done):
It looks like you lost the mag body catch that the trigger group latches onto. I don't think that is wear, someone tried to grind that sucker off. They even cracked a portion of the back rib off as well. Probably bubba trying to turn the magazine into a quick detach or something. No bueno for certain.
At this point you have to run some kind of non matching mag (whether it's your replacement or a tapco duckbill, or get a magazine adapter and run duckbill-less AR mags). If having matching numbers is important to you, I think you can salvage the matching cover off the ruined mag and swap it onto your new magazine. There is a single rivet that holds that cover in place along with the follower.
I agree that it looked filed, but I couldn't come up with a reason why anyone would do it. I guess your theory about making it quick detach is plausible...as dumb of an idea as it seems - those people do walk among us.
I've put my replacement, non-matching (serial #) mag in there now. While it's mine, I'm not concerned with the serial numbers. I've kept my original and if I ever part with it , and if I think it matters at the time, I'll look at swapping the bottom half of them.
I really just wanted to make sure there wasn't something that I might need to address so I don't mess up the new(er) one. I guess I'll fire 50 rounds through it and pull it back out to see if I see any wear marks. Thanks for the reply.