Why lidar altitude is not matching with local position z?

Why is the final fused altitude from ekf does not match with the lidar data? I am using v1.16.0 PX4 firmware. I have set EKF2_HGT_REF to Range Finder. I am doing bench test and have disabled the GPS.