Think about this scenario -
along the touchline an attacking player can push the ball forward but within the touchline past a defender facing him, and then go around the defender from outside the touchline to take the ball again further forward. Stepping outside the touchline or in the case discussed here, the end line, does not make a player inactive.