Hey there! I'll try to provide you with my best answer.
Answer: In a collision, the velocity change is always computed by subtracting the initial velocity value from the final velocity value. If an object is moving in one direction before a collision and rebounds or somehow changes direction, then its velocity after the collision has the opposite direction as before.