If your obstacle avoidance was turned on and your drone was facing the sun; it's most likely that the drone was treating the sun as an obstacle and continuing to rise. A step change pattern of altitude in your logs would point strongly to this theory, as that would indicate the drone checking...