There are few sports where the ball can only travel backwards.
Rugby league is one of those, meaning the ball cannot be passed forwards at anytime.
That even includes accidentally knocking the ball forwards with your hands or arm when you fumble the ball.
So if the ball is knocked on forwards, the referee will stop play and award a scrum to the other team.
However, the ball can travel forwards if a player is charging down a kick.