Stepper With Button and Bounce2 Library

It has been pointed out that your program design for stepper motor movement is what is called "blocking" and it prevents reading of the buttons.

Your step/dir A4988 stepper driver will let you create a new program which can avoid "blocking".

You can find an example here
https://forum.arduino.cc/t/simple-stepper-program/268292

and some good general reference on steppers here to help you understand

https://forum.arduino.cc/t/stepper-motor-basics/275223