The altitude reading on phones is not necessarily the most precise and can vary. It is GPS based, with some calculations done. I compared it to the altitude showing on the in-flight map and it isn’t that close. When there is no altitude data, my website actually uses an elevation API to provide an estimated altitude. For example, it is estimating my house is 29 meters above sea level, but I don’t display altitude unless it is significant.