This is because it changes the gear ratio between the engine and the wheel. A lower front sprocket or a larger rear sprocket will make the engine work harder to turn the wheel. This increases torque but reduces top speed.
The amount of torque increase depends on the size difference between the sprockets. A one-tooth change will make a small difference, while a three-tooth change will make a more noticeable difference.
Changing sprockets can also affect the bike's handling. A lower front sprocket or larger rear sprocket will make the bike accelerate faster but handle more slowly. A higher front sprocket or smaller rear sprocket will make the bike accelerate slower but handle more quickly.
Ultimately, the best sprocket combination for a motorcycle depends on the individual rider's preferences and riding style.