Flaps sometimes have a mind of their own?

You should go through each controller in the Options Menu and search for flaps and see what’s assigned. It may not just be the joystick.