Stepper motor and esp32

in this code, my 0, 4 th pin esp32 nodemcu give current when v1 is 0 .what is the reason for this?

![Unformatted code removed by moderator]

@Narmandakh Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your code so that it displays correctly.
Triple backticks look like this:
```

Copy and paste these if you can’t find the correct symbol on your keyboard.

Pete.