Why does Force = ma rather than F = mv or F = ms? Where v equals velocity and s equals speed.?

For instance, lets say an object is moving at a constant speed of 2 m/s and hits an object at rest. According to f =ma, it wouldn’t exert any force onto the object as it has 0 acceleration. This is obviously not true, can someone explain?
8 answers 8