Presumably you meant airliners specifically?
Piston engines sometimes stop unexpectedly. This happens in general aviation, and sadly it quite often results in a fatal crash.
If you ban piston engines and only allow turbine engines (which are much less prone to unexpectedly stopping), you effectively kill general aviation.
Presumably you meant airliners specifically?