Stall during Takeoff

Hey All :slight_smile:

During takeoff, the autopilot reduces the throttle unexpectedly before reaching the takeoff altitude and the aircraft stalls, any thoughts why it would reduce the throttle max?

Thanks in advance :slight_smile:

Screenshot and the link to the log file below.

Link for the log file:

according to logs - flight mode was switched to Stablilize (by RC channel 8) right before throttle goes down