Hey! They're related along with 'amend'! Look at this from
MW:
Etymology: Middle English, from Old French amender, modification of Latin emendare, from e, ex out + menda fault; akin to Latin mendax lying, mendicus beggar, and perhaps to Sanskrit mindA physical defect