It could what the other guy said. But it could also be a worn crank bearing. Check for any unusual play in the cranks system.
This will cause a misalignment of the front and rear sprockets causing the chain to skip a tooth and peel itself off.
Also check for damaged or ramped sprocket teeth.