Recoiling of a gun can be explained with the help of:
When a bullet is fired from a gun, the gun exerts a force on the bullet in the forward direction. The bullet exerts an equal and opposite force on the gun in the backward direction.
This is in accordance with Newton’s third law of motion.