Cell phones don't have altimeters, for the most part, so the elevation data is coming from the GPS and calculated via topography, which is not as accurate as a built in altimeter.
Also, most cell phones don't have an active GPS antenna. You can do that in a dedicated bike computer, since you can sacrifice the space.
You guys are right though, someone should really make a bike computer with modern cell phone GPS components but bike computer sizing