The history of the words is something like the following:
Manganon – ancient Greek word for war engine
Manganum – latin form of Greek root word
Manganeau – Pre-medieval French form of word
Mangonel – Medieval English form of word
Gonnel – late medieval form, as gunpowder weapons were being invented
Gun – post-medieval form
Greek onas (ass, the animal) + agros (field) = onagros, meaning a wild ass (animal)
Onagrus – Latin form of Greek onagros, now referring to Roman design which had a scoop and cord torsion for power.
Onager – English form which refers to the Roman form of catapult they called Onagrus, or medieval versions similar but somewhat different to the Roman design.
Onager is a little more specific that Mangonel, though there are variations on the Onager. Mangonel means war engine, and may be used by some people to mean certain types, which may be different than other people’s meanings, especially if you compare French versus English.