An accelerating frame is not inertial because Newton's laws are not valid in such a frame. An object with no forces acting on it does not move along a straight line at a constant speed when viewed from the perspective of that accelerating frame, nor does an object with a non-zero net force obey F=ma when viewed from the perspective of that accelerating frame.