Do not change the altitude from terrain

I have a quadcopter with an ultrasonic range finder sensor.
In addition in loiter mode and auto mode Although all parameters are set (terrain_enable = 1), When an obstacle is placed under the drone, Sensor data show that the sensor has seen the obstacle but does not react to it
Can you tell me why the drone does not climb when it sees an obstacle below it?
Parameters file download link: