Many mapping apps, including iPhons's Apple Map, use a mapping database that includes terrain topography. If the phone can find your location then it will know the elevation too. No need for satellite reception for this as the phone can, and does, triangulates position using nearby cell towers. This is how your phone knows your elevation with GPS disabled. If you left the GPS disabled and lifted off in a hot air balloon your elevation would not change.
Now, take your phone away from cell phone reception and disable the GPS and you will have no idea what your elevation is.
Try this: GPS reception is weak inside an airliner...especially away from windows...and there is no cell phone recaption at altitude so next time you're on a plane disable the GPS then check out your position and elevation. Does the elevation say 35,000'? I think not. It won''t know where you are either. Now turn on the GPS and place the phone next to the window. Your mapping feature likely will not work because it relies on cell reception to download maps but the phone will show an accurate lat/long and will show your actual altitude.
You do not have a satellite phone...this is how all smart phones work.