It lost fuel and/or spark and/or compression. Many possibilities of the source.
timing belt probably
if the sound of the engine cranking sounds unusual, your timing belt has snapped.
The EC button is for "economy" and when you press this button, it turns off the a/c compressor, to give you more economy or mpg while your driving
By being strong
Drinking :)
If the car turns off while driving, it can be a sign of a bad ground. It can also mean a fuel system problem.
Have the ignition madule checked out.
engine stalls sometimes driving
Generally, no.
The alarm may go off while driving your Kia due to an electrical shortage. This may also be due to a blown fuse.
The car will stop if the battery cable comes loose.
it could be your emission check sensor