PixHawk Flight control problems

In the optical flow mode, the EKF2 is enabled, but the drone cannot rise to a height of more than 3 meters, but in manual mode it can rise to more than 3 meters, requesting advice