Law of conservation of momentum is applicable to isolated system (no external force is applied), In this case, the change in velocity is due to the gravitational force of earth.

Law of conservation of momentum is applicable to isolated system (no external force is applied), In this case, the change in velocity is due to the gravitational force of earth.