Sometimes a "bent" coupler can be a result of something out of sorts with the spring or spacer at the pivot point. Look at this first. Probably not it, but I've seen it.
Secondly, the metal that is used for most couplers and trucks is a zinc, but zinc can take a bit of "re-bending" if it has not received terminal damage (i.e. - major cracking). Remove the coupler from the truck and inspect the mounting end, and the truck. They (couplers) are usually easy to remove. Pliers and patience - and familiarity - can coax the metal back into shape.
The loco may have been dropped or run into a wall at high speed. I suppose the a part or parts could have been faulty before assembly.
Drop the coupler and get familiar with the assembly, then try to tease it back into shape, if this looks possible. If the coupler mount is badly cracked, a new one may be in order. EBay can help, there, for example.