Recoil is explained by Newton’s third law of motion. It is usually paraphrased as: "to every action there is always an equal and opposite reaction". In simpler terms, when a projectile and the hot gasses go forward, the firearm goes backwards. There are a number of factors that determine the amount of backward force.