Obstacle Avoidance lowers altitude and lands instead of going over the obstacle

I am using Dijkstra + BendyRuler obstacle avoidance, whenever the drone detects an obstacle, it starts lowering the altitude and eventually lands, I have tested this setup before where the drone, upon obstacle detection would try to go over the obstacle.

Parameters:
1.) OS_TYPE: 3
2.) OS_BR_TYPE: 2

I’d appreciate it if anyone could help me resolve this issue.
@rmackay9 @rishabsingh3003