If your e-bike chain keeps falling off, the cause may be derailleur adjustment, a bent hanger, drivetrain wear, chainline, ...