Still a bit confusing, as they do not clearly explain which altitude limit they are referring to. However, it would appear to be the separate maximum altitude setting (that @Bad Santa is referring to as the ceiling height) rather than the RTH...
May I suggest you refresh your knowledge of the drone laws by retaking the TRUST and focusing on the areas including controlled airspace authorization, maximum altitude above ground level, and flying at night. Everyone can use more knowledge...
@oc1doc it looks like your drone was trying to avoid an obstacle, as described in the Air 3S manual below. But if you share the TXT flight log, all of the needed data should be there to confirm what it was doing.
Would this be a good place to say my M2P pegs RTH landings at night, even with obstacle avoidance active, right where it took off from? That has to be due to the GPS working correctly, so I also think there’s an issue with that drone.