I'll assume you mean: "... as opposed to a circular orbit". That is caused by the fact that for a circular orbit, a planet needs a VERY PRECISE SPEED. Change the speed slightly (at a particular point in the orbit), and the orbit immediately becomes elliptical.