The wall jumping is finnicky and doesn't work as intended because the gravity keeps stacking over time. So the longer you are in the air, more gravity will apply to the character. Usually we have to set the Y-velocity to zero first to reset the vertical force and then add the jump impulse force. It would give a more consistent result.
I hope this advice helps you in understand game physics a little better.