pixhawk when swiching loiter or alt hold bouncing

hello help please .a, help, what can it be<??? in stabilize mode lever to the middle it goes up very fast and when I change to althold or loiter it maintains position and height but bouncing to the middle


You need to follow the mandatory vehicle tuning instructions. And tune the notch filters . This has been explained duzens of times in this forum already